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 D:\App\Cjlc\App\textpattern\lib\txplib_db.php on line 17

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in D:\App\Cjlc\App\textpattern\lib\txplib_db.php:28 Stack trace: #0 D:\App\Cjlc\App\textpattern\lib\txplib_db.php(44): DB->DB() #1 D:\App\Cjlc\App\textpattern\publish.php(30): include_once('D:\\App\\Cjlc\\App...') #2 D:\App\Cjlc\App\index.php(32): include('D:\\App\\Cjlc\\App...') #3 {main} thrown in D:\App\Cjlc\App\textpattern\lib\txplib_db.php on line 28