Deprecated: Non-static method MySQL::connect() should not be called statically in /home/fantas58/public_html/domeprojects.nl/classes/main.class.php on line 46

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/fantas58/public_html/domeprojects.nl/classes/mysql.class.php:196 Stack trace: #0 /home/fantas58/public_html/domeprojects.nl/classes/main.class.php(46): MySQL::connect('fantas58_domepr...', 'localhost', 'fantas58_dpnl', 'DPnlEw6.Kwn8!') #1 /home/fantas58/public_html/domeprojects.nl/classes/news.class.php(68): Main->__construct() #2 /home/fantas58/public_html/domeprojects.nl/index.php(45): newsControl->__construct() #3 {main} thrown in /home/fantas58/public_html/domeprojects.nl/classes/mysql.class.php on line 196