get all rows from db ci query raw 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");
}