Add new PHP functions to retrieve game details and display them in the view

This commit is contained in:
2024-04-18 14:06:38 +02:00
parent 1ee5c9e7e4
commit 44809197cb
4 changed files with 120 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
$donnees = ['idpartie', 'date_partie', 'horaire'];
$parties = $parties['instances'][(int) $_POST["selectparty"] - 1];
$url = 'vues/details_vue.php?';
$url = 'index.php?page=details&';
foreach ($donnees as $donnee) {
$url .= $donnee . '=' . $parties[$donnee] . '&';
}