Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/pfadidun/public_html/php/database.php:29 Stack trace: #0 /home/pfadidun/public_html/php/database.php(21): database->connect() #1 /home/pfadidun/public_html/php/init.php(8): database->__construct() #2 /home/pfadidun/public_html/html/index.php(2): require_once('/home/pfadidun/...') #3 {main} thrown in /home/pfadidun/public_html/php/database.php on line 29