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

  • A text widget to collect the user's name.
  • Four checkboxes, one each for the following items:
    • Four 100-watt light bulbs for $2.39
    • Eight 100-watt light bulbs for $4.29
    • Four 100-watt long-life light bulbs for $3.95
    • Eight 100-watt long-life light bulbs for $7.49
  • A collection of three radio buttons that are labeled as follows:
    • Visa
    • MasterCard
    • Discover
  • Order and reset buttons

Write a PHP page (PHP1) that computes the total cost of the ordered light bulbs from Problem 1 after adding 8.0 percent sales tax. The PHP1 must inform the buyer of exactly what was ordered, in a TABLE. The PHP1 also generates two buttons: continue button and cancel button.

When continue button in Problem 2 is clicked, it will direct the user to a second PHP page, PHP2. This PHP displays the credit card type selected by the user in Problem 1, followed by a text widget to collect the credit card number. The PHP2 also generates two buttons: continue button and cancel button.

When continue button in Problem 3 is clicked, it will direct the user to a third PHP page, PHP3. This PHP reviews the user's order, displays two buttons: confirm button and cancel button.

When confirm button in Problem 4 is clicked, it will direct the user to a fourth PHP page, PHP4. This PHP thanks the user.

When any cancel button in Problem 2, 3, 4 is clicked, it will end the process and display some message.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.