From e645b8121d0114c248432b516adcb8e132b6696d Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 25 Sep 2022 15:16:08 +0200 Subject: [PATCH] debug --- gestion/saisieVotes.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gestion/saisieVotes.php b/gestion/saisieVotes.php index d5912e6..d13abcd 100644 --- a/gestion/saisieVotes.php +++ b/gestion/saisieVotes.php @@ -19,7 +19,6 @@ function queryVotationName($db, $idVotation) :string function queryVotes($db, $idVotation) { $query = "SELECT * FROM liste_votes LEFT JOIN methods ON listes_votes.methods=methods.id WHERE idVotation='" . $idVotation . "'"; - print $query; $db->query($query); $votes = $db->result->fetch_all(); return $votes; @@ -50,7 +49,7 @@ if (!empty($votes)) { foreach ($votes as $value) { - print ($value[0] . " " . $value[1] . EOLH); + print ($value[1] . " " . $value[5] . EOLH); } echo EOLH . EOLH; }