1
0
This commit is contained in:
Daniel Tartavel 2022-09-15 20:23:56 +02:00
parent 5d1148c7c8
commit 26a748f7be

View File

@ -99,7 +99,7 @@ function votationForm($path, $titre="", $libelle="", $dateDebut="", $DateFin="",
function votesForm($path, $libelle = "", $method = 0) function votesForm($path, $libelle = "", $method = 0)
{ {
$db = new db(); $db = new db();
$query = "SELECT *m FROM methods"; // clotûre $query = "SELECT * FROM methods"; // clotûre
$db->query($query); $db->query($query);
$methods = $db->result->fetch_all(MYSQLI_ASSOC); $methods = $db->result->fetch_all(MYSQLI_ASSOC);
if (!(array_key_exists($method, $methods))) if (!(array_key_exists($method, $methods)))