Can I do
if( ereg ("^[[:alpha:]]+$", $username, $morevariables))
?
Also I want to use a loop for an array
so
while($info)
{
do stuff
}
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[0]);
$check = stripslashes($info[0]);
and then compare the original?
Bookmarks