Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /media/hd2/statmy/public_html/classes/DB.php:11 Stack trace: #0 /media/hd2/statmy/public_html/classes/DB.php(19): DB::connect_db() #1 /media/hd2/statmy/public_html/classes/DB.php(74): DB::query('\n\t\t\tSELECT\n\t\t\t\t...') #2 /media/hd2/statmy/public_html/top.php(4): DB::rowCount('mydata') #3 {main} thrown in /media/hd2/statmy/public_html/classes/DB.php on line 11