11-27-2010, 09:33 AM
|
#5 (permalink)
|
|
The Acquainted
Join Date: May 2009
Posts: 178
Thanks: 9
|
Can't get this to work. Here's my code all within a class:
Quote:
function init() {
$this->properties = REQUEST;
$this->properties = array_map('$this->clean()',$this->properties);
}
function clean($variable) {
return strip_tags($variable);
}
|
|
|
|
|