note 37922 added to function.stripslashes
| From: | jokin at gmx dot de | Date: | Tue, 02 Dec 2003 10:31:24 +0000 |
| Subject: | note 37922 added to function.stripslashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61263@lists.php.net to get a copy of this message | ||
In addition to mike-php ...
The version of mike-php does not recognize Multi-Arrays - with a little add-on it will strip slashes
from every Multi-Array.
function stripslashes_array($given){
return is_array($given) ? array_map('stripslashes_array', $given) :
stripslashes($given);
}
greets, Jokin
----
Manual Page -- http://www.php.net/manual/en/function.stripslashes.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37922
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37922&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37922&report=yes
Search -- http://master.php.net/manage/user-notes.php