str_replace("&", "&amp", $text);

> -----Original Message-----
> From: Diana Castillo [mailto:[EMAIL PROTECTED]
> Sent: January 28, 2004 9:27 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] &amp
> 
> is there any function that will always replace a "&" with a "&amp" in
a
> string?
> 
> --
> --
> Diana Castillo
> Global Reservas, S.L.
> C/Granvia 22 dcdo 4-dcha
> 28013 Madrid-Spain
> Tel : 00-34-913604039
> Fax : 00-34-915228673
> email: [EMAIL PROTECTED]
> Web : http://www.hotelkey.com
>       http://www.destinia.com
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

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

Reply via email to