Hello everyone.

Here just page refresh Counter++.

    $this->db->select('Counter_field');
    $this->db->where('id', $id); 
    $cnt = $this->db->get('Job_Description');


    $new_cnt = $cnt+1;


    $data = array('Counter_field'=>$new_cnt);
    $this->db->where('id',$id);
    $query = $this->db->update('Job_Description',$data);

What is wrong with above Query..
Every time i want increment and go to update results store in DB.