Htmlspecialchars() should do it :) http://www.php.net/manual/en/function.htmlspecialchars.php
- anders -----Opprinnelig melding----- Fra: Diana Castillo [mailto:[EMAIL PROTECTED] Sendt: 28. januar 2004 15:27 Til: [EMAIL PROTECTED] Emne: [PHP] & is there any function that will always replace a "&" with a "&" 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