Warning: Undefined variable $db in /home/course/u12/public_html/submissions/submission06/scripts/catalogProcess.php on line 10

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/course/u12/public_html/submissions/submission06/scripts/catalogProcess.php:10 Stack trace: #0 /home/course/u12/public_html/submissions/submission06/scripts/catalogProcess.php(10): mysqli_query() #1 {main} thrown in /home/course/u12/public_html/submissions/submission06/scripts/catalogProcess.php on line 10