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