Warning: include_once(connectToaDatabase.php): Failed to open stream: No such file or directory in /home/course/u10/public_html/submissions/submission06/scripts/shoppingCartDeleteItem.php on line 3
Warning: include_once(): Failed opening 'connectToaDatabase.php' for inclusion (include_path='.:/usr/share/php') in /home/course/u10/public_html/submissions/submission06/scripts/shoppingCartDeleteItem.php on line 3
Warning: Undefined array key "orderItemID" in /home/course/u10/public_html/submissions/submission06/scripts/shoppingCartDeleteItem.php on line 5
Warning: Undefined array key "orderID" in /home/course/u10/public_html/submissions/submission06/scripts/shoppingCartDeleteItem.php on line 6
Warning: Undefined variable $db in /home/course/u10/public_html/submissions/submission06/scripts/shoppingCartDeleteItem.php on line 8
Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/course/u10/public_html/submissions/submission06/scripts/shoppingCartDeleteItem.php:8
Stack trace:
#0 /home/course/u10/public_html/submissions/submission06/scripts/shoppingCartDeleteItem.php(8): mysqli_query()
#1 {main}
thrown in /home/course/u10/public_html/submissions/submission06/scripts/shoppingCartDeleteItem.php on line 8