내 모델에는 다음 코드가 있지만 결과는 배열 형식이 아닌 테이블로 반환되기를 원한다. 어떻게해야합니까?Model에서 CodeIgniter의 배열 결과를 테이블로 바꾼다
function info_car ($id)
{
$this->db->select('car_id,car_vin_number,car_make,car_model,car_year,car_color,location_location_id,source_source_id');
$this->db->where('car_id', $id);
$this->db->from('car');
$query = $this->db->get();
if ($query->num_rows() > 0)
{
$row = $query->row_array();
return $row;
}
}