$travels_list = $this->db->table('travels')->where(array('status'=>0,'hot'=>1))->lists(); $this->assign('travels_list',$travels_list);
$travels_list = $this->db->table('travels')->where(array('status'=>0,'hot'=>1))->lists ();
$this->assign('travels_list',$travels_list);
This is a check method for equal to a certain value, so how to write greater than or equal to a certain value
刘某2019-04-22 14:06:03
$travels_list = $this->db->table('travels')->where([ ['status', '=', 0), [ 'hot', '=' ,1], ['id', '>', 10] ])->lists();
Not in pure English....