Require Email Address before form submits

A

Anonymous

Guest
Code:
if ( !isset($_POST["email"]) || empty($_POST["email"])) {
    //send the user back to the form and display err messg
}else {
    //process your form here
}
 
Back
Top