PK
$_SESSION['driver_name_deceleration'] = $driver_name_decelerationArr;
$count_decelerationArr[] = $count_deceleration;
$_SESSION['count_deceleration'] = $count_decelerationArr;
}
?>
</td>
<?php
?>
<td style = "position: relative; ">
<?php
for($t=0; $t<count($data_total); $t++ ){
$driver_name_total = array_values($data_total[$t]['c'])[1];
$total = array_values($data_total[$t]['c'])[2];
if(strlen($driver_name_total)>1 && $driver_name_total == $name){
// echo $total;
echo "<span style=\"width:100%; height: 100%; position: absolute; background-color:".($total < 2.7 ? "#ff0000" : "#00ff00")."\">".$total."</span>";
}
$driver_name_totalArr[] = $driver_name_total;
$_SESSION['driver_name_total '] = $driver_name_totalArr;
$totalArr[] = $total;
$_SESSION['total'] = $totalArr;
}
?>
</td>
<?php
echo "
</tr>
";
}


