I want to combine AND OR mysql queries in CI. I have already seen this thread: http://codeigniter.com/forums/viewthread/92818/. But they don\'t provide the exact solution th
You can use this simply
$this->db->where("status","live")->or_where("status","dead");
you can also use
$this->db->where("(status='live' OR status='dead')");