Home  >  Article  >  Backend Development  >  ci框架出现database error 是什么情况

ci框架出现database error 是什么情况

WBOY
WBOYOriginal
2016-06-06 20:37:18780browse

ci框架出现database error 是什么情况

回复内容:

ci框架出现database error 是什么情况

where 啥 = 'g' 啊 。
CI,规范的写法 ;
$this->db->where('column',$data);

大哥,你where的时候漏了字段名。仔细检查一下

这不是明显的sql错误么?
select something from table where condition......

很明显是不够细心。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn