Re: INSERT Problem

From: Date: Wed, 05 Sep 2001 11:30:23 +0000
Subject: Re: INSERT Problem
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12163@lists.php.net to get a copy of this message
Have a look at addslashes http://www.php.net/manual/en/function.addslashes.php Miles At 01:20 PM 9/5/01 +0200, shi wrote:
Hi I'm trying to insert a text into a MYSQL DB, and here is the problem. If the 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 (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.db (#12163) next »