Ashley M. Kirchner wrote:


How can I convert a string like this: "test & test" into "test%20%26%20test" so I can then pass it to a script? Essentially convert the spaces and & symbol to their ASCII HEX equivalent.



http://us3.php.net/manual/en/function.urlencode.php


--
By-Tor.com
It's all about the Rush
http://www.by-tor.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to