Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write an HTML file named hw2a.htm that contains a form. The form should include a text field for a name, as well as at

1. Write an HTML file named hw2a.htm that contains a form. The form should include a text field for a name, as well as at least 4 other form elements for personal information. At least one of these form elements should be a checkbox. The action of the form should be to go to hw2b.php.

2. Write a PHP file named hw2b.php. Your program should save the data entered in the form from hw2a.htm into session variables. If the checkbox from hw2b.htm hadn't been checked, the corresponding session variable should store "Not Chosen".

The file hw2b.php should include a form with a select that includes options for five United States presidents. The value of the options should be the last name of the president. The action of the form should go to hw2c.php.

3. The file hw2c.php should define an array that contains the first name, last name, date they took office, date they left office, and the party of the first five United States presidents. You can find such a list here:http://en.wikipedia.org/wiki/List_of_Presidents_of_the_United_States (Links to an external site.)Links to an external site.

The file should display the data for the president that the user chose in hw2b.php as well as all the form information entered in hw2a.htm.

Make sure that you upload your files into the public_html directory of your cislinux account.

Send me an email when you are finished that includes the full URL of your homework assignment.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Distributed Relational Database Architecture Connectivity Guide

Authors: Teresa Hopper

4th Edition

0133983064, 978-0133983067

Students also viewed these Databases questions

Question

The amount of work I am asked to do is reasonable.

Answered: 1 week ago

Question

The company encourages a balance between work and personal life.

Answered: 1 week ago