debug
This commit is contained in:
parent
2b583f606a
commit
e645b8121d
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user