Warning: Undefined array key "customer_id" in /home/course/u53/public_html/submissions/submission06/scripts/shoppingCartAddItem.php on line 9
Warning: Undefined array key "productID" in /home/course/u53/public_html/submissions/submission06/scripts/shoppingCartAddItem.php on line 10
Warning: Undefined variable $db in /home/course/u53/public_html/submissions/submission06/scripts/shoppingCartAddItem.php on line 22
Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/course/u53/public_html/submissions/submission06/scripts/shoppingCartAddItem.php:22
Stack trace:
#0 /home/course/u53/public_html/submissions/submission06/scripts/shoppingCartAddItem.php(22): mysqli_query()
#1 {main}
thrown in /home/course/u53/public_html/submissions/submission06/scripts/shoppingCartAddItem.php on line 22