I mean like this: $var = "123"; //this is number $var = "12aa 2"; //this is not $var = 23; //yes, this is is there a function to do this? Thanks
$var=is_numeric($variableToCheck);
$var will return a 1 if it finds an alpha char in the string. I think thats right if I remember correctly.
ha, how come I didn't see this in the manual before, thank you.