I have a block of code that checks the variables of a form
if(strlen($fname > 0) && strlen($lname > 0) && ereg("[0-9]{3}-[0-9]{3}-[0-9]{4}",$phone) && ($email == $email2)){
registerUser($fname, $lname, $street, $city, $state, $zip, $phone, $phone2, $store, $email, $email2);
}else{...