Name:

Address:
          

Spices: (12 oz.)

How do you want to pay?
Pay now
Pay on delivery

Mode of payment:
AMEX
Master Card
VISA

Which of the outlets have you visited?
Shopper's Paradise
Port Plaza
Stop 'n' Shop

In this example, we'll specify the "Show_Orderpage_Post.php" program as the action.

  1. Change the title of the Web page from "Orderpage" to "Orderpage_Post".
  2. Use File > Save As... to store the Web page into a new file named "MyOrderpage_Post.htm"
  3. Click on the red dotted-line boundary of the form to display the form's properties. Verify that the Properties window is displaying the form's name, action, and method.
  4. Verify that the form's name is OrderForm.
  5. Verify that "POST" is specified as the method.
  6. Enter "Show_Orderpage_Post.php" (without the quotes) into the Action space.
  7. Select the "Spices" List/Menu form element and display the Properites window.
  8. Change the name of the "Spices" list/menu to "Spices[]".
  9. Using the Properties window, change the name of each of the three checkboxes from "Outlets" to "Outlets[]".
  10. Update the file with File > Save.

Display the html for this order page.

Display the PHP send_simpleform_wjs.php listing.

Return to Having fun with PHP.