This commit is contained in:
Thijs Stobbelaar 2023-11-14 21:45:06 +01:00
parent 59095e1770
commit ae973621e9

View file

@ -37,14 +37,20 @@ $lastMatches = array_slice($allMatches, 0, 8);
<section>
<h2>Latest Matches</h2>
<table border='1' class='sortable'>
<thead>
<table class='sortable'>
<tr>
<!-- <th>Match Date</th> -->
<tr><th>Player Name</th><th>Kills</th><th>Damage Dealt</th><th>Time Survived</th><th>Rank</th></tr>
<tr>
<th>Player Name</th>
<th>Kills</th>
<th>Damage Dealt</th>
<th>Time Survived</th>
<th>Rank</th>
</tr>
</thead>
<tbody>
</tr>
<?php
// Check if a match ID is provided in the GET request
if (isset($_GET['matchid'])) {
@ -77,7 +83,7 @@ $lastMatches = array_slice($allMatches, 0, 8);
echo "No match ID provided.";
}
?>
</tbody>
</table>