note 30565 added to function.mysql-escape-string
| From: | chrise at chrise dot tk | Date: | Sat, 22 Mar 2003 08:12:07 +0000 |
| Subject: | note 30565 added to function.mysql-escape-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45632@lists.php.net to get a copy of this message | ||
This performs the reverse of this function, and it can be useful for retrieving string data from a
database:
$unescaped = preg_replace("=\\\\(.)=", "\$1", $escaped);
Chris E.
--
http://www.php.net/manual/en/function.mysql-escape-string.php
http://master.php.net/manage/user-notes.php?action=edit+30565
http://master.php.net/manage/user-notes.php?action=delete+30565
http://master.php.net/manage/user-notes.php?action=reject+30565