Warning: Undefined variable $db in /home/course/u17/public_html/submissions/submission06/scripts/shoppingCartProcess.php on line 4
Warning: Undefined variable $customerID in /home/course/u17/public_html/submissions/submission06/scripts/shoppingCartProcess.php on line 4
Fatal error: Uncaught TypeError: mysqli_real_escape_string(): Argument #1 ($mysql) must be of type mysqli, null given in /home/course/u17/public_html/submissions/submission06/scripts/shoppingCartProcess.php:47
Stack trace:
#0 /home/course/u17/public_html/submissions/submission06/scripts/shoppingCartProcess.php(47): mysqli_real_escape_string()
#1 /home/course/u17/public_html/submissions/submission06/scripts/shoppingCartProcess.php(4): getExistingOrder()
#2 {main}
thrown in /home/course/u17/public_html/submissions/submission06/scripts/shoppingCartProcess.php on line 47