add extra fields in row array php codeigniter code example
Example: get result count codeigniter
public function record_count() {
return $this->db->count_all("tablename");
}
public function record_count() {
return $this->db->count_all("tablename");
}