R r4m39z New member Mar 29, 2009 #1 Does anybody know how to check EVERY character, character by character, in preg_match to see it they are a-Z0-9? I think I got it, but I'm not sure. if (!preg_match("/^[a-z0-9])+$/i", $name)) { echo 'Nmae is invalid.'; }
Does anybody know how to check EVERY character, character by character, in preg_match to see it they are a-Z0-9? I think I got it, but I'm not sure. if (!preg_match("/^[a-z0-9])+$/i", $name)) { echo 'Nmae is invalid.'; }