RE: [PHP] special chars in SQL string

From: Date: Fri, 04 Jan 2002 09:02:34 +0000
Subject: RE: [PHP] special chars in SQL string
Groups: php.general 
Request: Send a blank email to php-general+get-79435@lists.php.net to get a copy of this message
Doesn't putting a backslash in front of the offending character escape it?? Isn't that what the PHP addslashes() function does??? Richy -----Original Message----- From: Daniel Harik [SMTP:gatop@hot.ee] Sent: 03 January 2002 19:00 To: php-general@lists.php.net Subject: [PHP] special chars in SQL string Hello Guys how can escape chars like ' and " so that MySQL doesn't report me errors all the time, for example when i try to add data like "It's", i always have errors Thank You -- Best regards, Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#79435) next »