08.17.15 - 12.13.15
Multipage Forms
Objective: Work with PHP variables and the GET and POST methods of transferring variables between pages.
pastdue
Comments placed in each source code file | 5 pts |
PHP tags used correctly | 10 pts |
4 Pages Created | 5 pts |
Specified forms present on first 3 pages | 20 pts |
Values are passed from first three pages to last successfully | 25 pts |
Final page displays output | 25 pts |
Page format is correct and valid | 10 pts |
Total | 100 pts |
For this lab you will need to use what we have learned about PHP variables and passing those variables with the GET or POST methods from HTML forms. You will need to create for this lab a multi-page form that will be used to collect information about a client. HTML forms will be used on the first three pages to collect the information and each page will pass it's information to the next page until you get to page four. The last page will simply display all of the information that was collected on the first three pages.
The first page's form should collect the clients first and last name separately and will submit to the second page. The second page should collect the client's street address, city, state, and zip code and should submit this information, along with the first and last name, to the third page. The third page should collect billing information including the credit card type the client wishes to use, the credit card number, and the credit card's expiration date (Month, Day, and Year). This page should then pass the billing information along with the other information it was passed to the fourth page.
The fourth and final page should display the clients full name, full address, and their billing information. This is not an HTML class so I will not be picky about the Form controls you choose to use so long as everything functions as described.