i need to find out if a string (user imputed) conatins numbers. I want
only a-zA-Z to be in a field. (their name for example....and city)...i
have the following however my regexps are VERY weak as i am a beginner.
function validatetext($text){
if (is_string($text)== 1){
return "good";
}else{
return "bad";
}
}
~kurth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]