note 30046 added to control-structures.foreach

From: Date: Wed, 05 Mar 2003 09:04:19 +0000
Subject: note 30046 added to control-structures.foreach
Groups: php.notes 
Request: Send a blank email to php-notes+get-44853@lists.php.net to get a copy of this message
Running array_walk with stripslashes doesn't work, but the following code does: foreach ($_POST as $key => $value) { $_POST[$key] = stripslashes ($value); } -- http://www.php.net/manual/en/control-structures.foreach.php http://master.php.net/manage/user-notes.php?action=edit+30046 http://master.php.net/manage/user-notes.php?action=delete+30046 http://master.php.net/manage/user-notes.php?action=reject+30046

« previous php.notes (#44853) next »