note 20532 added to function.mysql-escape-string
| From: | thefirstofthechildrenNOSPAMyahoo dot ca at php2 dot chek dot com | Date: | Sun, 07 Apr 2002 03:01:05 +0000 |
| Subject: | note 20532 added to function.mysql-escape-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28793@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.
--
http://www.php.net/manual/en/function.mysql-escape-string.php
http://master.php.net/manage/user-notes.php?action=edit+20532
http://master.php.net/manage/user-notes.php?action=delete+20532
http://master.php.net/manage/user-notes.php?action=reject+20532