Can I do
if( ereg ("^[[:alpha:]]+$", $username, $morevariables))
Also I want to use a loop for an array
I want to use htmlspecialchars and stripslashes to make sure all of the elements in the array info are ok
if they strip+html'ed variables dont match then I want it to say so, can I do this in a simple way? ie not have to write
$check = htmlspecialcharacters($info);
$check = stripslashes($info);
and then compare the original?