note 94362 deleted from function.mysql-real-escape-string by thiago
| From: | thiago@php.net | Date: | Fri, 30 Oct 2009 13:01:24 +0000 |
| Subject: | note 94362 deleted from function.mysql-real-escape-string by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-162281@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
/**
* Description
*
* @param $value = array value
*/
function am($value)
{
return (is_array($value))?
array_map('am',$value):
mysql_real_escape_string($value);
}
This function will help to filter the array input, even though is an nested array.