[eluser]FutureKing[/eluser]
I want to write the following query using active record.
UPDATE `app_term_taxonomy` SET count=count+1 WHERE `tx_id` = '24';
This didn't worked for me.
Code:
$data = array(
'count' => 'count+1',
);
$this->db->where('tx_id', $tx_id);
$this->db->update('term_taxonomy', $data);
Please help.