"scott [gts]" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > you could also use this: > > function is_alphanum($data) { > return preg_match('/^\w+$/', $data); > } Watch out though... IIRC \w also includes underscore... -- Lasse -- 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] Very urgent!!! Duy B
- [PHP] Number of the line ? Emmanuel FAIVRE
- Re: [PHP] Number of the line ? ReDucTor
- Re: [PHP] Number of the line ? Marc van Duivenvoorde
- Re: [PHP] Number of the line ? Christian Reiniger
- Re: [PHP] Number of the line ? Alexander Wagner
- [PHP] Re: Number of the line ? Inércia Sensorial
- [PHP] is_alpha_numeric ? John Monfort
- Re: [PHP] is_alpha_numeric ? Steve Werby
- RE: [PHP] is_alpha_numeric ? scott [gts]
- RE: [PHP] is_alpha_numeric ? Lasse
- RE: [PHP] is_alpha_numeric... PHPBeginner.com
- RE: [PHP] is_alpha_num... John Monfort
- RE: [PHP] is_alpha_num... PHPBeginner.com
- RE: [PHP] is_alpha_num... John Monfort
- Re: [PHP] Very urgent!!! Henrik Hansen