1
0
This commit is contained in:
Daniel Tartavel 2022-09-21 21:44:00 +02:00
parent 65bbc85dce
commit d8b19465e4

View File

@ -69,7 +69,7 @@ if (empty($idVotation))
votesForm($path); votesForm($path);
}else }else
{ {
$query = "INSERT INTO liste_votes ('libelle', 'method', 'id_votation') VALUES ('" . $libelle . "', " . $method . "," . $idVotation . ")"; $query = "INSERT INTO liste_votes VALUES (0, '" . $libelle . "', " . $method . "," . $idVotation . ")";
print($query); print($query);
$db->query($query); $db->query($query);
} }