[PHP] problem with urlencode
Hi there, I have a problem putting through a variable which contains an in the string. When the variabele is something like: a href=test.php?name=robsjoerdclick here/a the next file sees $name as rob instead of $name=rob sjoerd i've tried the urlencode function but that doesn't work. Somebody, thanks Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex E-sites B.V. http://www.esites.nl Minervum 7368 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 757 ___ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] problem with urlencode
definitely you need to be replaced with amp; ... it will work ... Peter -Original Message- From: Oosten, Sjoerd van [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 10:45 AM To: '[EMAIL PROTECTED]' Subject: [PHP] problem with urlencode Hi there, I have a problem putting through a variable which contains an in the string. When the variabele is something like: a href=test.php?name=robsjoerdclick here/a the next file sees $name as rob instead of $name=rob sjoerd i've tried the urlencode function but that doesn't work. Somebody, thanks Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex E-sites B.V. http://www.esites.nl Minervum 7368 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 757 ___ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] problem with urlencode
Hello Sjoerd, U can try using htmlentities(). OSv I have a problem putting through a variable which contains an in the OSv string. OSv When the variabele is something like: OSv a href=test.php?name=robsjoerdclick here/a Ivan 'Faeton aka xetrix' Danishevsky ICQ(240266) [EMAIL PROTECTED] www.xemichat.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]