Please provide solution asap!!
Objective:View more random threads:
- CS301‐ Data Structures Assignment No. 01 Spring 2013
- Visual Programming (CS410) Assignment no 3 solution fall...
- CS403 Database Management System Assignment No. 3 spring...
- MTH202 Discrete Mathematics Assignment No.3 solution Fall...
- MCM511 Theories of Communication Assignment No Fall...
- CS504 - Software Engineering - I assignment no 5 idea...
- Assignment No. 3 Semester: Fall 2010 CS201: Introduction to...
- cs615 Software Project Management Assignment no 01 Spring ...
- MCM511 Theories of Communication Assignment No. 1 Solution...
- CS610 Computer Network Assignment No 1 Semester Fall 2012
The objective of this assignment is to provide hands on experience of
§ Setting up PHP
§ Understanding basics of PHP
§ Processing HTML form data and sending response back to client using PHP
Guidelines
§ Code should be properly aligned and well commented.
Problem Statement:
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
[IMG]file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/msohtml1/01/clip_image002.jpg[/IMG]
If the age of the user is less then 18 years next page will display message as shown in figure 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
Sponsored Links
Solution will be uploaded soon
Urgent call: 03455242488. | Virtual University Assignments
Virtual University GDBs | Virtual University Papers | Vu Projects | Vu Handouts
About Expert
Please provide solution asap!!
acha u dont have?
Urgent call: 03455242488. | Virtual University Assignments
Virtual University GDBs | Virtual University Papers | Vu Projects | Vu Handouts
About Expert
No....wait!!!!!!!
(page name) index.html
HTML Code:<html> <head> <title></title> </head> <body> <form action="result.php" method="post"> Name: <input type="text" name="Name"><br/><br/> Age: <input type="text" name="Age"><br/><br/> <input type="submit" name="submit" value="submit"> <input type="reset" name="reset" value="reset"> </form> </body> </html> (page name) result.php <html> <head> <title></title> </head> <body> <?php $name=$_POST['Name']; $age=$_POST['Age']; if($age<=17){ echo "$name you are not eligible to vote"; } else { echo " $name you are eligible to vote"; } ?> </body> </html>
I guess so!!
There are currently 1 users browsing this thread. (0 members and 1 guests)