Warning: Undefined variable $db in /home/course/u36/public_html/submissions/submission04/scripts/formRegistrationProcess.php on line 22
Warning: Undefined array key "email" in /home/course/u36/public_html/submissions/submission04/scripts/formRegistrationProcess.php on line 22
Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/course/u36/public_html/submissions/submission04/scripts/formRegistrationProcess.php:79
Stack trace:
#0 /home/course/u36/public_html/submissions/submission04/scripts/formRegistrationProcess.php(79): mysqli_query()
#1 /home/course/u36/public_html/submissions/submission04/scripts/formRegistrationProcess.php(22): emailAlreadyExists()
#2 {main}
thrown in /home/course/u36/public_html/submissions/submission04/scripts/formRegistrationProcess.php on line 79