SyntaxFix
Write A Post
Hire A Developer
Questions
Try this code. This seems working in my case.
$this->db->where(array('id !='=> $id))