note 92184 deleted from function.mysql-real-escape-string by philip

From: Date: Fri, 04 Sep 2015 20:38:50 +0000
Subject: note 92184 deleted from function.mysql-real-escape-string by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-203677@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- It is because you swapped $key and $item: Just change this: <?php function mysql_safe ( $item, $key, $type ) ?> To: <?php function mysql_safe ( $key, $item, $type ) ?> And it will work as expected.

« previous php.notes (#203677) next »