Just wondering if I am allowed to validate age this way. So the user must enter an age, there age must be a number and they must be between 15 to 80
if ($age=="") {
$errMsg .= "<p>You must enter your age.</p>";
} else if (!is_numeric($var),$age)) {
$errMsg .= "<p>Your age must be a number.</p>";
} else if ($age > 14) {
$errMsg .= "<p>You must be 15 or older to apply for this job.</p>";
} else if ($age < 81) {
$errMsg .= "<p>You must be 80 or younger to apply for this job.</p>";
}