PHP Code:
preg_match('/^[0-9]{5}$/', trim(stripslashes($_POST['zip']))))
if (preg_match("^[0-9]{3}-[0-9]{3}-[0-9]{4}$", trim(stripslashes($_POST['phone']))))
does anyone see anything wrong with those lines of codes.
__________________
>> Higher a poor college student. PM me :). PHP/MySQL <<
|