addslashes()
It iscapes also double quotes, which might be not what you want.
Juan Pablo Herrera wrote: Escape it: \'
It must be somewhere in the manual, I think.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php