[EMAIL PROTECTED] wrote:

I've a script that uses '&'
However, if I pass that as a variable to another page, everything after it, gets ignored...
I've tried:


1. Esacping the character with '\'
2. Using &

But nothing works...
Any ideas how to include an '&' in my variable?

Tris...


Are you trying to pass a variable to another page by making it part of the urls query string? In other words you using php code similar to :
echo "http://www.sungard.com/index.php?var=$var";


now you are having trouble because $var contains the & character?

if so you need to call urlencode($var)


please be more detailed in future posts.


thanx

--
Raditha Dissanayake.
---------------------------------------------------------------
http://www.radinks.com/upload/ Drag and Drop Upload thousands of files and folders in a single
transfer. (HTTP or FTP)


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



Reply via email to