Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can't connect with outside php file. The index page (index.php) isn't connecting with the Calculations.php page. -----------Calculations.php----------

Can't connect with outside php file. The index page (index.php) isn't connecting with the Calculations.php page.

-----------Calculations.php----------

//calculations.php
//declare variables
$order_total = ;
$tax = $total * 0.65; //WA state sales tax as of 5/03/17
$grand_total = $order_total + $tax;
//perform grand total calculations
function grandTotal($price, $sides){//if ther are sides
$grand_total = ($price + $Quantity) + ($sides * $quant);
}//end grandTotal()

----------index.php----------

W3.CSS Template

logo

monday - friday 10-23 | saturday 14-02

42 village St, New York

powered by w3.css

x

Burger Types

Tomato Soup $2.50

Chicken Salad $3.50
Bread and Butter $1.00

Main Courses

Grilled Fish and Potatoes $8.50
Italian Pizza $5.50
Veggie Pasta $4.00
Chicken and Potatoes $6.50
Deluxe Burger $5.00

Desserts

Fruit Salad $2.50
Ice cream $2.00
Chocolate Cake $4.00
Cheese $5.50
x

Contact

Reserve a table, ask for today's special or just send us a message:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions

Question

Which is performed first, exponents or addition?

Answered: 1 week ago

Question

General Purpose of Your Speech Analyzing Your Audience

Answered: 1 week ago

Question

Ethical Speaking: Taking Responsibility for Your Speech?

Answered: 1 week ago