note 97027 deleted from function.mysql-real-escape-string by danbrown

From: Date: Mon, 29 Mar 2010 14:11:46 +0000
Subject: note 97027 deleted from function.mysql-real-escape-string by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-167485@lists.php.net to get a copy of this message
Note Submitter: callum dot foxy at googlemail dot com ---- This is what I use to validate all data in a post form; <? foreach ($_POST as $i => $data) { $_POST[$i] = mysql_real_escape_string($_POST[$i]); } ?> Escapes each cell in the post array.

« previous php.notes (#167485) next »