PHP Order Form - Example 2

Product Price Quantity Totals
Chocolate Cake $15.00
Carrot Cake $12.00
Cheese Cake $20.00
Banana Bread $14.00
Total:
First Name:
Last Name:
Email:
Phone:

About the Order Form

Validation is included in both JavaScript and PHP for handling incorrect quantity entries. Among the contact fields, only email address is required. Validation is included for that field.

When you enter a valid quantity, a valid email address, and click Submit, you will see order results on the subsequent page. Although the online example will not send an email, the example in the download file will do so once you have provided an email address in the code.

See the documentation for more information about the PHP order forms. See also the PHP form and table classes that are used to generate these order forms. They are all provided free of charge.