Return to Snippet

Revision: 4762
at January 19, 2008 17:36 by ajbatac


Initial Code
function alpha_numeric($str)
{
return ( !preg_match("/^([-a-z0-9])+$/i", $str)) ? FALSE : TRUE;
}

Initial URL

                                

Initial Description

                                

Initial Title
Alpha Numeric Testing

Initial Tags
validation

Initial Language
PHP