prepare("SELECT * FROM `tournaments` WHERE `name` = ? AND `year` = $YEAR;"); $response->execute([$tournament_name]); $data = $response->fetch(); $orga_data = $DB->query("SELECT `surname`, `first_name` FROM `users` WHERE `id` = " . $data["organizer"] . " AND `year` = $YEAR;")->fetch(); $orga_name = $orga_data["first_name"] . " " . $orga_data["surname"]; $teams_response = $DB->query("SELECT `id`, `name`, `trigram`, `inscription_date`, `validation_status` FROM `teams` WHERE `tournament` = " . $data["id"] . " AND `year` = $YEAR;"); ?>
Équipe | Trigramme | Date d'inscription | État de validation de l'inscription |
---|---|---|---|
" . $team_data["name"] . ""; else echo $team_data["name"]; ?> | |||
Équipe | Trigramme | Date d'inscription | État de validation de l'inscription |