diff --git a/topstats.php b/topstats.php index de6fd46..562bbc0 100644 --- a/topstats.php +++ b/topstats.php @@ -20,10 +20,10 @@ error_reporting(E_ALL); include './config/config.php'; $players_data = json_decode(file_get_contents('./data/player_lifetime_data.json'), true); - $selected_mode = isset($_POST['game_mode']) ? $_POST['game_mode'] : 'squad'; + $selected_mode = isset($_GET['game_mode']) ? $_GET['game_mode'] : 'squad'; // Form to select game mode - echo "
+ echo "