J'ai le code suivant dans mon modèle mais je veux que les résultats soient retournés dans une table plutôt que dans un format de tableau. Comment je fais ça?retourner les résultats de tableau de CodeIgniter dans le modèle à une table
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;
}
}