soycharliente Posted February 18, 2008 Share Posted February 18, 2008 I have a db full of restaurants. I have each place printed out and want to make each one a link with the location as a parameter (?p=El Amigo). Some of the places have apostrophes and spaces in the names. I used rawurlencode() to change the characters, but when it echoes to the screen, the URL isn't formatted properly. Any help? Quote Link to comment Share on other sites More sharing options...
PHP Monkeh Posted February 18, 2008 Share Posted February 18, 2008 How about http://uk3.php.net/manual/en/function.rawurldecode.php ? Quote Link to comment Share on other sites More sharing options...
soycharliente Posted February 18, 2008 Author Share Posted February 18, 2008 SOLVED. Yeah. I looked at that but I didn't see anything. I think it won't matter though. It might just work posting it the way it is and only needing to decode it right before I put it in a query. Quote Link to comment 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.