note 59016 deleted from function.array-keys by danbrown
| From: | danbrown@php.net | Date: | Wed, 25 Aug 2010 01:49:13 +0000 |
| Subject: | note 59016 deleted from function.array-keys by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-172011@lists.php.net to get a copy of this message | ||
Note Submitter: alapidus
----
erwin at spammij dot nl, a far more efficient solution to your problem would be to use the array_map
function:
<?php
$_POST = array_map('addslashes', $_POST);
?>