RE: [PHP] inserting free-form text with quotes to mysql

From: Date: Fri, 20 Jul 2001 19:44:40 +0000
Subject: RE: [PHP] inserting free-form text with quotes to mysql
Groups: php.general 
Request: Send a blank email to php-general+get-58960@lists.php.net to get a copy of this message
Dude! I already said that wasn't working :) MG >===== Original Message From "Jason Bell" <jbell@barkingrat.com> ===== >$newstring = addslashes($oldstring); > >then, use $newstring for everything.... should work. > >----- Original Message ----- >From: "garman" <garman@students.uiuc.edu> >To: <php-general@lists.php.net> >Sent: Friday, July 20, 2001 11:57 AM >Subject: [PHP] inserting free-form text with quotes to mysql >> >> I've tried addslashes() and removeslashes() before the submit, but that >> doesn't seem to help.

« previous php.general (#58960) next »