definitely you need "&" to be replaced with "&" ... 

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=rob&sjoerd">click 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]

Reply via email to