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()? 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 Link to comment https://forums.phpfreaks.com/topic/56370-solved-get-help/#findComment-278450 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.