Question
Objective: By completing this exercise you will gain experience using PHP to process form data. Directions: Modify the orderform.php and orderprocess.php files to process additional
Objective: By completing this exercise you will gain experience using PHP to process form data.
Directions: Modify the orderform.php and orderprocess.php files to process additional data.
Step 1: add the radio buttons to the orderform.php (and make the text also be able to be selected)
Sample provided below but please design it anyway you want that demonstrates excellent design
and is mobile friendly.
Step 2: Process the data by adding a toppings cost as follows:
No Extra Toppings = 0
One Topping = 2.00
Two Toppings = 3.00
Three Toppings = 3.75
Step 3: Process the total pizza cost by adding the topping cost to the pizza cost, then calculate tax on that
sum.
Step 3: Add a line for the topping cost to the orderprocess.php so the user sees all the costs breakdowns.
Something like the following but demonstrates excellent design and is mobile friendly.
Order a Delicious Pizza!
..............................................................................
$path = './';
$page = 'Pizza Order';
include $path.'assets/inc/header.php';
?>
Order a Delicious Pizza!
include $path.'assets/inc/footer.php';
?>
Step 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