I have a problem in the model, how to get all the columns in the following select query:
public function getAllProvince($where = array())
{
$this->db->select("id, name");
$this->db->from('target_statis');
$this->db->where($where);
$this->db->group_by("id, name");
$this->db->order_by("id");
$query = $this->db->get();
if ($query->num_rows() > 0){
return $query->result();
}
return false;
}