$string = str_replace(''','\'',$string);
You don't need to, but if you want to, thats how you could do it.
Adam Voigt
[EMAIL PROTECTED]
On Wed, 2004-02-18 at 11:24, Diana Castillo wrote:
> How do I convert ' to ' before displaying it in HTML?
> Thanks,
>
>
> --
> Diana Castillo
> Global Reservas, S.L.
> C/Granvia 22 dcdo 4-dcha
> 28013 Madrid-Spain
> Tel : 00-34-913604039 ext 214
> 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