mirror of
https://github.com/idanoo/nzart-exam-generator
synced 2025-07-01 13:52:17 +00:00
More styling
This commit is contained in:
parent
d262d86e11
commit
3d98b9a290
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue