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; }