Question
Online Coffee Store PHP In this assignment you need to create a form to allow the user to order coffee online and a PHP script
Online Coffee Store
PHP In this assignment you need to create a form to allow the user to order coffee online and a PHP script to process the order. The user will initially be prompted to select the type of coffee they wish to order, specify if they want regular or decaffeinated, the order quantity (# of pounds), their name, email address, telephone number, and shipping information. The different types of coffee and prices are below: Coffee Price / pound for Regular Coffee Boca Villa $7.99 South Beach Rhythm $8.99 Pumpkin Paradise $8.99 Sumatran Sunset $9.99 Bali Batur $10.95 Double Dark $9.95 The price of decaffeinated coffee is $1.00 more than the price of the regular coffee. Your assignment should have two pages. The first page is straight html that has a form with the appropriate form elements to collect the user input. The form should then be submitted using the post method to the php script that will process the user input. The php script should display the user input, amount of money the user will pay, and a link that, when clicked, will take the user back to the input form. In the case of invalid or incomplete input, the appropriate errors will be displayed.
Screen shot of the order form (The first page that is straight html) The Coffee House Order Form Coffee Select Coffee O Regular Type: Decaffeinated Quantity (in pounds): Name: E-mail address: Telephone # Address: State: Zip Submit ResetStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started