how to convert sql object to array in 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");
}