note 95717 added to function.mysql-real-escape-string

From: Date: Mon, 18 Jan 2010 05:50:20 +0000
Subject: note 95717 added to function.mysql-real-escape-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-165062@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.197 Probable Submitter: 67.204.3.127 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-real-escape-string.php Edit -- https://master.php.net/note/edit/95717 Del: integrated -- https://master.php.net/note/delete/95717/integrated Del: useless -- https://master.php.net/note/delete/95717/useless Del: bad code -- https://master.php.net/note/delete/95717/bad+code Del: spam -- https://master.php.net/note/delete/95717/spam Del: non-english -- https://master.php.net/note/delete/95717/non-english Del: in docs -- https://master.php.net/note/delete/95717/in+docs Del: other reasons-- https://master.php.net/note/delete/95717 Reject -- https://master.php.net/note/reject/95717 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#165062) next »