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]
- [PHP] regexps Elliot L. Tobin
- Re: [PHP] regexps Romulo Roberto Pereira
- Re: [PHP] regexps Monte Ohrt
- Re: [PHP] regexps Toby Butzon
- Re: [PHP] regexps Monte Ohrt
- RE: [PHP] regexps Kurth Bemis
- RE: [PHP] regexps scott [gts]
- Re: [PHP] regexps CC Zona
- Re: [PHP] regexps Daniel James
- [PHP] regexps Khalid El-Kary
- Re: [PHP] regexps 1LT John W. Holmes
- Re: [PHP] regexps Khalid El-Kary
- RE: [PHP] regexps John W. Holmes
- Re: [PHP] regexps ng

