You may print some message after sending mail optionally.
states that after submission form data will be handled by the PHP script present in this file only.
We are validating email format by using PHP filter_var() function.
The code is, $value) /* Validation to ensure gender is selected */ if(!
For example, “req” means required, “alpha” means allow only alphabetic characters and so on.
Each field in the form can have zero, one or more validations.