[eluser]megabyte[/eluser]
Code:
$this->db->delete('mytable', array('id' => $id));
does not work and is creating an sql statement with 2 paremeters instead of 1.
therefore I have been having to use:
Code:
$this->db->where('id', $id);
$this->db->delete('mytable');