$s = addslashes($s);

"Shi" <[EMAIL PROTECTED]> wrote in message
> Hi
> I'm trying to insert a text into a MYSQL DB, and here is the problem. If
> text looks like this "xxxxx xx x x xxx 'xxx xxx" then PHP interprets the
> text following the ' as an sql statement. Does anyone know how to overcome
> this problem.
> Thank you
> Shimon

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to