RE: [PHP] mysql input

From: Date: Tue, 19 Feb 2008 04:19:49 +0000
Subject: RE: [PHP] mysql input
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-269589@lists.php.net to get a copy of this message
mysql_real_escape_string() addslashes() htmlentities() take your pick bastien > From: nihilismmachine@gmail.com> To: php-general@lists.php.net> Date: Mon, 18 Feb 2008 > 23:05:10 -0500> Subject: [PHP] mysql input> > I have a user saving a VARCHAR(255) field in > a mysql db which has > single quotes in the text, how can i replace them so that they dont > > fuck up my mysql command?> > -e> > -- > PHP General Mailing List > (http://www.php.net/)> To unsubscribe, visit: > http://www.php.net/unsub.php> _________________________________________________________________

« previous php.general (#269589) next »