Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ECS has a deprecated constructor in D:\phpstudy\PHPTutorial\WWW\mall\includes\cls_ecshop.php on line 25

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in D:\phpstudy\PHPTutorial\WWW\mall\includes\cls_mysql.php:100 Stack trace: #0 D:\phpstudy\PHPTutorial\WWW\mall\includes\cls_mysql.php(241): cls_mysql->connect('localhost:3306', 'mhtcom_malls', 'mall@029mht.com', 'mhtcom_mall', 'utf8', 0) #1 D:\phpstudy\PHPTutorial\WWW\mall\includes\cls_session.php(143): cls_mysql->query('INSERT INTO `mh...') #2 D:\phpstudy\PHPTutorial\WWW\mall\includes\cls_session.php(126): cls_session->insert_session() #3 D:\phpstudy\PHPTutorial\WWW\mall\includes\cls_session.php(114): cls_session->gen_session_id() #4 D:\phpstudy\PHPTutorial\WWW\mall\includes\cls_session.php(43): cls_session->cls_session(Object(cls_mysql), '`mhtcom_mall`.`...', '`mhtcom_mall`.`...', 'ECS_ID', '') #5 D:\phpstudy\PHPTutorial\WWW\mall\includes\init.php(155): cls_session->__construct(Object(cls_mysql), '`mhtcom_mall`.`...', '`mhtcom_mall`.`...') #6 D:\phpstudy\PHPTutorial\WWW\mall\index.php(18): require('D:\\phpstudy\\PHP...') #7 {main} thrown in D:\phpstudy\PHPTutorial\WWW\mall\includes\cls_mysql.php on line 100