骚年丶 发表于 2016-8-30 20:13:27

数据库的查询

total_count表示总数量,m_count表示消耗数量,现在我想要查询出 total_count-m_count>3 的数据,请问$this->db->where()该怎么写呢?

韭菜丸子炒鸡蛋 发表于 2016-8-31 05:35:01

$where = "query";$this->db->where($where);
页: [1]
查看完整版本: 数据库的查询