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