码迷,mamicode.com
首页 > Web开发 > 详细

qeephp学习

时间:2014-12-30 13:18:30      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:

controller中调用find()操作数据库时报错:

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in E:\xampp\htdocs\qeemaster_jingly\library\db\adapter\mysql.php on line 68

解决方案:E:\xampp\htdocs\qeemaster_jingly\library\db\adapter\mysql.php 中

$this->_conn =mysql_connect($host, $this->_dsn[‘login‘], $this->_dsn[‘password‘], $force_new);

改为$this->_conn =@mysql_connect($host, $this->_dsn[‘login‘], $this->_dsn[‘password‘], $force_new);

qeephp学习

标签:

原文地址:http://www.cnblogs.com/jly553/p/4193357.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!