[eluser]Phil Sturgeon[/eluser]
audiopleb is right.
where_not_in() in used to create SQL such as WHERE id NOT IN('2', '42', '35') etc.
You need to either use:
Code:
$this->db->where('id !=', $id);
// or
$this->db->where_not_in('id', array($id));
In this example, the first would make more sense.