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

WBOY
Release: 2016-06-06 20:37:18
Original
814 people have browsed it

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

回复内容:

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

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

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

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

很明显是不够细心。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template