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