CodeIgniter Active Record not equal

后端 未结 5 1501
别跟我提以往
别跟我提以往 2020-12-05 05:59

In CodeIgniter using active record, how do I perform a not equal to in $this->db->where(). For instance:

$this->db->where(\'emailsT         


        
5条回答
  •  醉话见心
    2020-12-05 06:59

    Try this code. This seems working in my case.

    $this->db->where(array('id !='=> $id))
    

提交回复
热议问题