New features #124

Merged
OpzekerIT merged 12 commits from dev into main 2023-11-16 13:57:48 +00:00
Showing only changes of commit 43f1c96a3c - Show all commits

View file

@ -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 "<form method='post' action=''>
echo "<form method='get' action=''>
<input type='submit' name='game_mode' value='solo' class='btn'>
<input type='submit' name='game_mode' value='duo' class='btn'>
<input type='submit' name='game_mode' value='squad' class='btn'>