RE: [PHP-DB] Special character on an INSERT statement

From: Date: Tue, 28 Aug 2001 16:54:39 +0000
Subject: RE: [PHP-DB] Special character on an INSERT statement
Groups: php.db 
Request: Send a blank email to php-db+get-11910@lists.php.net to get a copy of this message
try $sql = "INSERT...(\"TONS OF CD'S\")"; -----Original Message----- From: Jorge Giménez Mayorgas [mailto:jorgegmamg@hotmail.com] Sent: Tuesday, August 28, 2001 11:48 AM To: php-db@lists.php.net Subject: [PHP-DB] Special character on an INSERT statement 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 (#11910) next »