s
This commit is contained in:
parent
ff21ab3af0
commit
41127a7109
1 changed files with 4 additions and 1 deletions
|
|
@ -8,7 +8,10 @@ if (isset($_GET['matchid'])) {
|
||||||
if (file_exists($filename)) {
|
if (file_exists($filename)) {
|
||||||
// Read and decode the JSON file
|
// Read and decode the JSON file
|
||||||
$jsonData = json_decode(file_get_contents($filename), true);
|
$jsonData = json_decode(file_get_contents($filename), true);
|
||||||
echo $jsonData;
|
echo "<pre>";
|
||||||
|
print_r($jsonData);
|
||||||
|
echo "</pre>";
|
||||||
|
|
||||||
// Start building the HTML table
|
// Start building the HTML table
|
||||||
echo "<table border='1'>";
|
echo "<table border='1'>";
|
||||||
echo "<tr><th>Player Name</th><th>Kills</th><th>Damage Dealt</th><th>Time Survived</th><th>Rank</th></tr>";
|
echo "<tr><th>Player Name</th><th>Kills</th><th>Damage Dealt</th><th>Time Survived</th><th>Rank</th></tr>";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue