On Sun, 23 Nov 2003 15:19:23 -0700, you wrote: >When the 'New Mexico' gets to phpinfo, it says the string is 'New+Mexico' >and that's not what I need. I used htmlspecialchars to add the %20 to the >string but didn't get it. What am I doing wrong or missing??
That sounds like the behaviour of urlencode, not htmlspecialchars. Try rawurlencode. BTW, there is a urldecode function... http://www.php.net/manual/en/ref.url.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php