Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DB has a deprecated constructor in /home1/mones/public_html/class/DB.class.php on line 4
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home1/mones/public_html/class/DB.class.php:20
Stack trace:
#0 /home1/mones/public_html/index.php(15): DB::connect()
#1 {main}
thrown in /home1/mones/public_html/class/DB.class.php on line 20