note 20532 rejected from function.mysql-escape-string by sander

From: Date: Sun, 07 Apr 2002 10:20:32 +0000
Subject: note 20532 rejected from function.mysql-escape-string by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28806@lists.php.net to get a copy of this message
sorry dude, but if you do just "echo" DB data you entered using the mysql_escape_string function, then you'll get the unfortunate slashes placed in front of every apostrophy, which is totally annoying. you have to 'unescape' the data prior to displaying it if you don't wanna look like an idiot.

« previous php.notes (#28806) next »