From 242b5d9facc63c9be882053f2284bbe098b95b06 Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar Date: Fri, 29 Sep 2023 14:29:56 +0200 Subject: [PATCH] Key --- last_stats.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/last_stats.php b/last_stats.php index 3de741c..e06259a 100644 --- a/last_stats.php +++ b/last_stats.php @@ -29,6 +29,7 @@ error_reporting(E_ALL); $players_matches = json_decode(file_get_contents('./data/player_last_stats.json'), true); foreach ($players_matches as $key => $player_datas) { + echo "Stats for $key"; echo ""; echo " @@ -58,7 +59,7 @@ error_reporting(E_ALL); ? "∞" : (is_numeric($player_data['KD_H']) ? number_format((float) $player_data['KD_H'], 2, ',', '') - : "Invalid Value")); // or any other default string for non-numerical values + : "0")); // or any other default string for non-numerical values $KD_ALL = @@ -68,7 +69,7 @@ error_reporting(E_ALL); ? "∞" : (is_numeric($player_data['KD_ALL']) ? number_format((float) $player_data['KD_ALL'], 2, ',', '') - : "Invalid Value")); // or any other default string for non-numerical values + : "0")); // or any other default string for non-numerical values
Playername