mirror of
https://github.com/idanoo/nzart-exam-generator.git
synced 2024-12-04 14:23:10 +00:00
More styling
This commit is contained in:
parent
d262d86e11
commit
3d98b9a290
@ -114,17 +114,17 @@ if (isset($_POST['mark'])) {
|
||||
}
|
||||
|
||||
foreach ($day as $t=>$da) {
|
||||
echo "<span style='font-weight:bold'>".$t."</span><br/>";
|
||||
echo "<br/><span style='font-weight:bold'>".$t."</span> - ";
|
||||
$total = 0;
|
||||
foreach($da['total'] as $t) {
|
||||
$total = $total+$t;
|
||||
}
|
||||
$total = round(($total/count($da['total'])),2);
|
||||
echo $total."% Average<br/>";
|
||||
unset($da['total']);
|
||||
foreach($da as $c=>$d) {
|
||||
echo $d;
|
||||
}
|
||||
echo $total."% Average<br/><br/>";
|
||||
}
|
||||
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user