Duh, why didn't I think of urlencode() ?! I kept looking for
something with hex in it, or some string conversion. It never dawned on
me...I'm dealing with html stuff and conversion...and url never even
came to mind. Must be the turkey (more like, lack thereof...) Hay,
thanks everyone. H
On Thu, 2003-11-27 at 20:51, 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.
urlencode()
Cheers,
Rob.
--
.
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 a
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.
--
H| I haven't lost my mind; it's backed up on tape somewhere.
+--
4 matches
Mail list logo