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