note 18236 deleted from function.stripslashes by erica

From: Date: Mon, 09 Sep 2002 06:56:05 +0000
Subject: note 18236 deleted from function.stripslashes by erica
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-36374@lists.php.net to get a copy of this message
I think this is a better way for multidimensional arrays >> fferreres@joydivision.com.ar function stripslashes_array($arr = array()) { $rs = array(); while (list($key,$val) = each($arr)) { if (is_array($val)) { $rs[$key] = stripslashes_array($val); } else { $rs[$key] = stripslashes($val); } } return $rs; }

« previous php.notes (#36374) next »