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!

Name:

ID:

Check the size of Pizza you would like to order:

..............................................................................

$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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!