Warning: Undefined variable $db in /home/course/u59/public_html/submissions/submission06/scripts/checkoutProcess.php on line 12
Warning: Undefined variable $customerID in /home/course/u59/public_html/submissions/submission06/scripts/checkoutProcess.php on line 12
Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/course/u59/public_html/submissions/submission06/scripts/checkoutProcess.php:80
Stack trace:
#0 /home/course/u59/public_html/submissions/submission06/scripts/checkoutProcess.php(80): mysqli_query()
#1 /home/course/u59/public_html/submissions/submission06/scripts/checkoutProcess.php(43): getExistingOrder()
#2 /home/course/u59/public_html/submissions/submission06/scripts/checkoutProcess.php(12): displayReceipt()
#3 {main}
thrown in /home/course/u59/public_html/submissions/submission06/scripts/checkoutProcess.php on line 80