debug
This commit is contained in:
parent
5d1148c7c8
commit
26a748f7be
@ -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)))
|
||||||
|
Reference in New Issue
Block a user