test ville

This commit is contained in:
Theo Mougnibas 2023-09-03 12:58:45 +02:00
parent 3ca788a399
commit 9e4dfa5dd3

View file

@ -71,6 +71,7 @@ if(isset($_POST['add_epreuve'])){
} }
echo "avant bdd"; echo "avant bdd";
echo $file_name;
$_POST['est_finale'] = $_POST['est_finale'] == 'on' ? 1 : 0; $_POST['est_finale'] = $_POST['est_finale'] == 'on' ? 1 : 0;
$req = $db->prepare("INSERT INTO ville_epreuve(indice,reponse,photo,id_equipe,est_finale,ordre,est_trouvee) VALUES(?,?,?,?,?,?,?)"); $req = $db->prepare("INSERT INTO ville_epreuve(indice,reponse,photo,id_equipe,est_finale,ordre,est_trouvee) VALUES(?,?,?,?,?,?,?)");