RE: [PHP] check for alphanumeric characters
| From: | Jay Blanchard | Date: | Fri, 29 Apr 2005 15:23:49 +0000 |
| Subject: | RE: [PHP] check for alphanumeric characters | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-214210@lists.php.net to get a copy of this message | ||
[snip]
what kind of a function can I use that will tell me whether a variable
is
alphanumeric (that is has only characters A-Z or 1-9 )?
[/snip]
You can use a regular expression, start here http://us3.php.net/regex