damiantaylor Posted March 21, 2010 Share Posted March 21, 2010 Hi guys, I'm trying to create a form that passes parameters in the URL when submitted. Here's the HTML code for my form: <form name="product_filter_form" action="http://page.php?main_page=index&cPath=8" method="get"> <input type="hidden" name="main_page" value="index&cPath=8&" /> <input type="checkbox" name="Price Range[]" value="£10 -- £20" />£10 -- £20<br /> <input type="checkbox" name="Price Range[]" value="£20 -- £30" />£20 -- £30<br /> <input type="checkbox" name="Price Range[]" value="£30 -- £40" />£30 -- £40<br /> <input type="submit" value="Go" style="width: 65px" /> </form> When I submit the page the URL contains 'page.php?main_page=index%26cPath%3D8%26' instead of 'page.php?main_page=index&cPath=8&'. Is there a way to make this work passing the parameters without hex code? Thank you Quote Link to comment https://forums.phpfreaks.com/topic/196056-hex-characters-in-url/ 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.