houssam_ballout Posted February 21, 2012 Share Posted February 21, 2012 Hello, I need help with this issue, I am displaying <a href='index.php?cat=h & r'>text</a> when I do print $_GET['cat'] it only displays h, why ? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/257459-printing-in-php-variable/ Share on other sites More sharing options...
litebearer Posted February 21, 2012 Share Posted February 21, 2012 Might look at this http://php.net/manual/en/function.urlencode.php Quote Link to comment https://forums.phpfreaks.com/topic/257459-printing-in-php-variable/#findComment-1319535 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.