Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\homework\include\db.inc.php:3 Stack trace: #0 C:\xampp\htdocs\homework\include\select_homework.inc.php(7): LoginDb() #1 C:\xampp\htdocs\homework\class_list_view.php(1): require_once('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\homework\include\db.inc.php on line 3