advanced code snippet search
ajbatac on 01/19/08
alpha validation numeric
01/19/08 05:36pm
2 people have marked this snippet as a favorite
iTonybioascii
function alpha_numeric($str){return ( !preg_match("/^([-a-z0-9])+$/i", $str)) ? FALSE : TRUE;}
Report this snippet Tweet
Comment:
You need to login to post a comment.