require_once('classes/GeofenceReport.php');
$OneGeofenceReport = new OneGeofenceReport();
$OneGeofenceReport->geofenceReportData($unix_from, $unix_to, $car_id);
//$_SESSION['OneGeofenceReport'] = $OneGeofenceReport->geofenceReportData($unix_from, $unix_to, $car_id);
foreach ($OneGeofenceReport->geofence_report_data as $item => $geofence_report_data):
$_SESSION['OneGeofenceReport'] = $geofence_report_data;
?>
<tr id="row_number">
<td> <?= $geofence_report_data->geofence_report_number ?> </td>
<td> <?= $geofence_report_data->geofence_report_stop_name ?> </td>
<td> <?= $geofence_report_data->geofence_report_stop_entered ?> </td>
<td> <?= $geofence_report_data->geofence_report_stop_left ?> </td>
<td> <?= $geofence_report_data->geofence_report_stop_time ?> </td>
</tr>
<?php endforeach; ?>
Тут только последняя строка строка идет
Обсуждают сегодня