note 48593 deleted from function.mysql-escape-string by tularis
| From: | tularis@php.net | Date: | Fri, 31 Dec 2004 15:00:25 +0000 |
| Subject: | note 48593 deleted from function.mysql-escape-string by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-82510@lists.php.net to get a copy of this message | ||
Note Submitter: kai dot php dot net at tragetaschen dot dyndns dot org
----
A simple way to unescape the string is to put it in a query and then use the result.
<?
$escaped=mysql_escape_string("\nHello World\r\n");
$sql="SELECT '$escaped'";
?>