note 95717 deleted from function.mysql-real-escape-string by thiago
| From: | thiago@php.net | Date: | Mon, 18 Jan 2010 11:38:59 +0000 |
| Subject: | note 95717 deleted from function.mysql-real-escape-string by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165064@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
The example below should be like this:
(Note the "$x = ")
<?php
foreach ($_REQUEST as &$x) {
$x = mysql_real_escape_string($x);
}
?>
Otherwise, you're not doing anything but running the function and not saving the changes.