Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is the assignment I am working on. I am fine with all the HTML parts of this assignment. However, I am having issues with

This is the assignment I am working on. I am fine with all the HTML parts of this assignment. However, I am having issues with Part 2, the PHP part. I would appreciate any help. Thank you very much.

image text in transcribed

COP2840 Assignment #7 Due at the start of class, Wednesday, March 22 1. Write an HTML document named light bulbs.html to create a form with the following capabilities. a. A text widget to collect the user's name b. Four checkboxes, one each for the following items i. A 25-watt light bulb for $2.39 ii. A 40-watt light bulb for $4.29 iii. A 60-watt long-life light bulb for $3.95 iv. A 100-watt long-life light bulb for $7.49 c. A collection of four radio buttons that are labeled as follows: i. Visa. ii. Master Card iii. Discover iv. Check 2. Write a PHP script named lightbulbs.php to handle the data from the form described in light bulbs.html that computes the cost of each product, e total number of items orde and the total cost of the order after adding 6.2 percent sales ta The name, unit, price, number ordered, and total cost for each product are presented to the client in a table defined with interwoven HTML markup and PHP script. Notice the table structure is described with the HTML, but the contents of some of the data cells are defined with PHP Important notes: 1. Total points: 10 2. Automatic 5 points deducted for files that do not work or produce incorrect outputs 3. Put your name in the source files as comment. 4. Two points will be deducted if the file does not have your name at the top in comments. 5. For submission, save the following source files i assignment7 folder: lightbulbs.html, light bulbs.php. Good luck

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

Semantics In Databases Second International Workshop Dagstuhl Castle Germany January 2001 Revised Papers Lncs 2582

Authors: Leopoldo Bertossi ,Gyula O.H. Katona ,Klaus-Dieter Schewe ,Bernhard Thalheim

2003rd Edition

3540009574, 978-3540009573

More Books

Students also viewed these Databases questions

Question

What is the best conclusion for Xbar Chart? UCL A X B C B A LCL

Answered: 1 week ago