Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /class/main.php:24 Stack trace: #0 /class/frontend.php(11): main->__construct() #1 /index.php(3): frontend->__construct() #2 {main} thrown in /class/main.php on line 24