使用了PDO链接Db.class.php还是会提示错误

浏览:1221 发布日期:2015/05/21 分类:求助交流
NOTIC: [8192] mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead /opt/www/ThinkPHP/Library/Think/Session/Driver/Db.class.php 第 95 行.
NOTIC: [8] Undefined offset: 1 /opt/www/ThinkPHP/Library/Think/Session/Driver/Db.class.php 第 124 行.
NOTIC: [2] mysql_query() expects parameter 2 to be resource, null given /opt/www/ThinkPHP/Library/Think/Session/Driver/Db.class.php 第 125 行.

php里面关掉了错误提示还是会在日志里面出现,看着不爽啊
最佳答案
评论() 相关
后面还有条评论,点击查看>>