You are required to make a simple web application using PHP that will take Name and Age of Voter. And according to his/her age it will display the message either voter is eligible to vote or not.
You will write a page index.php, this will be simple page that will contain a html form, this page will have simple html so you can either .html extension or .php, i.e. you can just make index.html if you like.
The user will entre his name and age on this page and click on submit
Condition :
1. If the age of the user is less then 18 years next page will display message as shown in figure 2.
2. If the age of the user will be equal to or more then 18 year it will display message as shown in Figure # 3.
You will write a page index.php, this will be simple page that will contain a html form, this page will have simple html so you can either .html extension or .php, i.e. you can just make index.html if you like.
The user will entre his name and age on this page and click on submit
Condition :
1. If the age of the user is less then 18 years next page will display message as shown in figure 2.
2. If the age of the user will be equal to or more then 18 year it will display message as shown in Figure # 3.