Warning: Undefined variable $db in /home/course/u61/public_html/submissions/submission06/scripts/process_cart.php on line 6
Warning: Undefined variable $customerID in /home/course/u61/public_html/submissions/submission06/scripts/process_cart.php on line 6
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_cart.php:49
Stack trace:
#0 /home/course/u61/public_html/submissions/submission06/scripts/process_cart.php(49): mysqli_query()
#1 /home/course/u61/public_html/submissions/submission06/scripts/process_cart.php(6): getExistingOrder()
#2 {main}
thrown in /home/course/u61/public_html/submissions/submission06/scripts/process_cart.php on line 49