it should be this i think:
foreach ( $userInput as $key => $value )
{
$newvalue[] = sanitize( $value );
}
return $newvalue // returns an array - since this is the only
way to get all veriables from the function
}
elseI could be wrong but the only way it would work for the code you have writen would be to return an array of all the sanatized strings -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

