1. Modify the file handle_form.php to ensure that the user enters all of the required information, include:
§ Validation for the name field
§ Validation for the email field
§ Validation for the gender field
§ Validation for the age field
§ Validation for the comment field
2.Create a Boolean variable to flag whether all the input is valid. Initially set this variable to true. If any of the form input is invalid set this variable to false.
Use the Boolean variable to either display the entered information (as before) or to display a message informing the user to go back and correctly complete the form