Save the + when posting a form

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
lenton
Forum Commoner
Posts: 49
Joined: Sun Jun 20, 2010 6:45 am

Save the + when posting a form

Post by lenton »

When submitting a forum using the method GET the + gets lost when I try retrieve it using $_GET["q"].

Any ideas on stopping this from happening?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Save the + when posting a form

Post by requinix »

User avatar
lenton
Forum Commoner
Posts: 49
Joined: Sun Jun 20, 2010 6:45 am

Re: Save the + when posting a form

Post by lenton »

Ok, I solved my problem. I used javascript code to make it URL friendly.
Post Reply