Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/myeasy/public_html/school/db.php:27 Stack trace: #0 /home/myeasy/public_html/school/db.php(21): db->connect() #1 /home/myeasy/public_html/school/index.php(24): db->__construct() #2 {main} thrown in /home/myeasy/public_html/school/db.php on line 27