How to update a column value with the current column value plus an increment in codeigniter?How to update a column value with the current column value plus an increment in codeigniter?
I want to to update a column value with the current column value plus an increment.
$this->db->where('id',$menu_ids)->set('menu_priority', 'menu_priority+1', FALSE)->update($this->table['menu']);