diff --git a/matchinfo.php b/matchinfo.php index e92afbc..393aa10 100644 --- a/matchinfo.php +++ b/matchinfo.php @@ -75,6 +75,13 @@ $lastMatches = array_slice($allMatches, 0, 8); echo $file . "\n"; } + foreach($file as $files){ + $jsonData_individual_player = json_decode(file_get_contents($file), true); + echo $jsonData_individual_player['stats']['humankills']; + echo $jsonData_individual_player['stats']['kills']; + + } + echo "
| matchType | gameMode | duration | mapName | createdAt | id |
|---|---|---|---|---|---|
| " . htmlspecialchars($matchinfo['matchType']) . " | ";