Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/thecup/public_html/lib/DB.php:33 Stack trace: #0 /home/thecup/public_html/lib/DB.php(12): DB->mysqlConnect() #1 /home/thecup/public_html/lib/DB.php(19): DB->__construct() #2 /home/thecup/public_html/index.php(17): DB::getInstance() #3 {main} thrown in /home/thecup/public_html/lib/DB.php on line 33