[PHP-DB] Re: insert problem mysql

2001-09-05 Thread shi
Thanks Shimon "John Lim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Use > > $s = addslashes($s); > > > "Shi" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi > > I'm trying to insert a text into a MYSQL DB, and her

[PHP-DB] Re: insert problem mysql

2001-09-05 Thread John Lim
Use $s = addslashes($s); "Shi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > I'm trying to insert a text into a MYSQL DB, and here is the problem. If the > text looks like this "x xx x x xxx 'xxx xxx" then PHP interprets the > text following the '