1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-27 03:58:45 +02:00

Quelques vérifications temporelles et autres

This commit is contained in:
Yohann
2019-09-02 20:57:26 +02:00
parent 35aed16e10
commit 273bd05944
8 changed files with 320 additions and 220 deletions

View File

@ -2,7 +2,7 @@
include 'config.php';
$tournaments_response = $DB->query("SELECT `id`, `name` FROM `tournaments` WHERE `year` = '$YEAR';");
$tournaments_response = $DB->query("SELECT `id`, `name` FROM `tournaments` WHERE `date_inscription` > CURRENT_DATE AND `year` = '$YEAR';");
if (isset($_POST["submitted"])) {
$error_message = registerTeam();