thefortrees Posted June 20, 2007 Share Posted June 20, 2007 Hi all - I have information in a form that I use GET to retrieve the form data. However, some of the data has spaces (ie: Restaurant - Fast Food) and the spaces can not be stored in the URL. How can I put all of that information into the URL via GET? Maybe implode()? Quote Link to comment https://forums.phpfreaks.com/topic/56370-solved-get-help/ Share on other sites More sharing options...
aniesh82 Posted June 20, 2007 Share Posted June 20, 2007 You can use the php function urlencode() Visit : http://au2.php.net/urlencode Javascript function escape() Visit: http://www.w3schools.com/jsref/jsref_escape.asp Quote Link to comment https://forums.phpfreaks.com/topic/56370-solved-get-help/#findComment-278450 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.