> Try addslashes() before executing the query and stripslashes() when
> retrieving data from the db. See the online manual for more
> details.
I think stripslashes() isn't needed when retrieving data from the db,
it is needed only in the query string to protect special chars from
interpretting them as sql.
Arpi
--
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]