Answered step by step
Verified Expert Solution
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----------
body,h1,h5 {font-family: "Raleway", sans-serif} | |
body, html {height: 100%} | |
.bgimg { | |
background-image: url('/w3images/onepage_restaurant.jpg'); | |
min-height: 100%; | |
background-position: center; | |
background-size: cover; | |
} | |
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
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