Special character on an INSERT statement

From: Date: Tue, 28 Aug 2001 16:48:13 +0000
Subject: Special character on an INSERT statement
Groups: php.db 
Request: Send a blank email to php-db+get-11906@lists.php.net to get a copy of this message
Hi . I'm trying to do this on an INSERT statement. $sql= "INSERT .... (' TONS OF CD'S ') or any phrase with the character ' . Obviously it gives an error when execeting mysql_query. How can I do it ? Thanks, Jorge Giménez

« previous php.db (#11906) next »