damiantaylor Posted May 23, 2011 Share Posted May 23, 2011 Hi guys, I've seen a lot of posts with this question but I still haven't managed to get it working! I have the following URL: www.myurl.com?&fltAccessories=Steel File & Oxide Stone I'm using the following code to read all the $_GET variables while(list($key, $value) = each ($_GET)) { .... .... } Problem is, $value contains 'Steel File' in this example. I've tried urldecode around the $_GET but to no avail. Anyone any idea how to make this work? Quote Link to comment https://forums.phpfreaks.com/topic/237238-_get-with-ampersand-again/ Share on other sites More sharing options...
wildteen88 Posted May 23, 2011 Share Posted May 23, 2011 Is this fltAccessories being set by a form the user submits? Maybe you should use post rather than get. Or if it is being defined from a link the you use urlencode when defining the value to fltAccessories. Quote Link to comment https://forums.phpfreaks.com/topic/237238-_get-with-ampersand-again/#findComment-1219151 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.