show total score on statistic site

This commit is contained in:
2022-06-08 12:52:39 +02:00
parent 42cd6956b9
commit 0962a70cd7
3 changed files with 41 additions and 1 deletions

View File

@@ -52,4 +52,15 @@ function load_teams_table($con) {
echo "<td>" . $row['feuerwehr'] . "</td>";
echo "</tr>";
}
}
function load_total_score($con) {
$stmt = get_total_score($con);
foreach($stmt->fetchAll() as $row) {
echo "<tr>";
echo "<td>" . $row['Mannschaftsname'] . "</td>";
echo "<td>" . $row['Feuerwehr'] . "</td>";
echo "<td>" . $row['Gesamtpunkte'] . "</td>";
echo "</tr>";
}
}