Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MySQL has a deprecated constructor in /home/bestwes1/public_html/dbase/mysql.php on line 3

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/bestwes1/public_html/dbase/mysql.php:28 Stack trace: #0 /home/bestwes1/public_html/dbase/mysql.php(20): MySQL->connectToDb() #1 /home/bestwes1/public_html/dbase/connect.php(14): MySQL->MySQL('localhost', 'bestwes1_user12...', 'robertgordon196...', 'bestwes1_main') #2 /home/bestwes1/public_html/dbase/connect.php(31): switchConnection('offline') #3 /home/bestwes1/public_html/news.php(1): include('/home/bestwes1/...') #4 {main} thrown in /home/bestwes1/public_html/dbase/mysql.php on line 28