prepare('INSERT INTO pannes(dates, details, lieu, salle, pos, materiel, marque, model, nserie, demandeur, traitement) VALUES(:dates, :details, :lieu, :salle, :pos, :materiel, :marque, :model, :nserie, :demandeur, :traitement)'); $stmt->bindValue(':dates', $_POST['dates']); $stmt->bindValue(':details', $_POST['details']); $stmt->bindValue(':lieu', $_POST['lieu']); $stmt->bindValue(':salle', $_POST['salle']); $stmt->bindValue(':pos', $_POST['pos']); $stmt->bindValue(':materiel', $_POST['materiel']); $stmt->bindValue(':marque', $_POST['marque']); $stmt->bindValue(':model', $_POST['model']); $stmt->bindValue(':nserie', $_POST['nserie']); $stmt->bindValue(':demandeur', $_POST['demandeur']); $stmt->bindValue(':traitement', 0); $stmt->execute(); echo 'Votre ticket à bien été pris en compte'; ?>