{ "key_pair_value_system": true, "answer_rating_count": "", "question_feedback_html": { "html_star": "", "html_star_feedback": "" }, "answer_average_rating_value": "", "answer_date_js": "2024-09-03T01:17:34-04:00", "answer_date": "2024-09-03 01:17:34", "is_docs_available": null, "is_excel_available": null, "is_pdf_available": null, "count_file_available": 0, "main_page": "student_question_view", "question_id": "8967108", "url": "\/study-help\/questions\/cant-connect-with-outside-php-file-the-index-page-indexphp-8967108", "question_creation_date_js": "2024-09-03T01:17:34-04:00", "question_creation_date": "Sep 03, 2024 01:17 AM", "meta_title": "[Solved] Can't connect with outside php file. The | SolutionInn", "meta_description": "Answer of - Can't connect with outside php file. The index page (index.php) isn't connecting with the Calculations.php page. ----- | SolutionInn", "meta_keywords": "connect,php,file,index,page,indexphp,connecting,calculationsphp,-----------calculationsphp----------", "question_title_h1": "Can't connect with outside php file. The index page (index.php) isn't connecting with the Calculations.php page. -----------Calculations.php---------- ", "question_title": "Can't connect with outside php file. The index page (index.php) isn't connecting", "question_title_for_js_snippet": "Can't connect with outside php file The index page (index php) isn't connecting with the Calculations php page Calculations php ", "question_description": "
Can't connect with outside php file. The index page (index.php) isn't connecting with the Calculations.php page.<\/p>
-----------Calculations.php----------<\/p>
<\/tr> | ||||||||||||||||
<\/td> | \/\/calculations.php<\/td> <\/tr> | |||||||||||||||
<\/td> | <\/td> <\/tr> | |||||||||||||||
<\/td> | \/\/declare variables<\/td> <\/tr> | |||||||||||||||
<\/td> | $order_total = ;<\/td> <\/tr> | |||||||||||||||
<\/td> | $tax = $total * 0.65; \/\/WA state sales tax as of 5\/03\/17<\/td> <\/tr> | |||||||||||||||
<\/td> | $grand_total = $order_total + $tax;<\/td> <\/tr> | |||||||||||||||
<\/td> | <\/td> <\/tr> | |||||||||||||||
<\/td> | \/\/perform grand total calculations<\/td> <\/tr> | |||||||||||||||
<\/td> | function grandTotal($price, $sides){\/\/if ther are sides<\/td> <\/tr> | |||||||||||||||
<\/td> | $grand_total = ($price + $Quantity) + ($sides * $quant);<\/td> <\/tr> | |||||||||||||||
<\/td> | <\/td> <\/tr> | |||||||||||||||
<\/td> | <\/td> <\/tr> | |||||||||||||||
<\/td> | }\/\/end grandTotal()<\/td> <\/tr> <\/tbody> <\/table> ----------index.php----------<\/p>
|