help pls

can someone help me Write the XHTML code to create a form with the following capabilities:

  1. A text widget to collect the user’s name
  2. Four checkboxes, one each for the following items
    a. Four 100-watt light bulbs for $2.39
    b. Eight 100-watt light bulbs for $4.29
    c. Four 100-watt long-life light bulbs for $3.95
    d. Eight 100-watt long-life light bulbs for $7.49
  3. A text widget to collect the number of battery packs ordered by the user at the
    price of $10.42 each.
  4. A collection of three radio buttons that are labelled as follows:
    a. Visa
    b. MasterCard
    c. AmericanExpress
    Then write a PHP script that computes the total cost of the ordered light bulbs and
    battery packs after adding 17.5 percent VAT. The program must inform the buyer of
    exactly what was ordered in a table, and what credit card was chosen to make
    payment.

First, is there a reason you need to use XHTML and not normal HTML FORMS and PHP?

Next, we are here to help, but, what code have you done so far? Have you looked thru the tutorials yet?

Once you have some code with errors, let us know and we can help you fix them up…

Sponsor our Newsletter | Privacy Policy | Terms of Service