In this example, we'll specify the "Show_Orderpage_Post.php" program as the action.
- Change the title of the Web page from "Orderpage"
to "Orderpage_Post".
- Use File > Save As... to store the Web page into a new file named "MyOrderpage_Post.htm"
- 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.
- Verify that the form's name is OrderForm.
- Verify that "POST"
is specified as the method.
- Enter "Show_Orderpage_Post.php"
(without the quotes) into the Action space.
- Select the "Spices" List/Menu form element and display the Properites
window.
- Change the name of the "Spices" list/menu to "Spices[]".
- Using the Properties window, change the name of each of the three checkboxes
from "Outlets" to "Outlets[]".
- 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.