Question: Write an HTML document to create a form with the following capabilities: a. A text box to collect the users name b. Four checkboxes, one

Write an HTML document to create a form with the following capabilities:

a. A text box to collect the users name

b. Four checkboxes, one each for the following items:

i. Four 25-watt light bulbs for $2.39

ii. Eight 25-watt light bulbs for $4.29

iii. Four 25-watt long-life light bulbs for $3.95

iv. Eight 25-watt long-life light bulbs for $7.49

c. A collection of three radio buttons that are labeled as follows:

i. Visa

ii. Master Card

iii. Discover

- Write a PHP script that computes the sub total cost of the ordered light bulbs. Add 6.2 percent sales tax. Display the total price.

- The program should save the order to the text file. (save: name, selections, subtotal, tax, total)

- The program must inform the buyer of exactly what was ordered. (show your order on the HTML/PHP file)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!