X-Git-Url: https://git.piment-noir.org/?p=Project_webapp.git;a=blobdiff_plain;f=includes%2Fformreservations.php;fp=includes%2Fformreservations.php;h=479489b335452a4a35d9dec6d4390b95fdd76e7f;hp=0000000000000000000000000000000000000000;hb=a2f7a7290d0b54650c249a0bf59e66d8d7691135;hpb=01135b89a6848059df608e8c23e8684233772b4f diff --git a/includes/formreservations.php b/includes/formreservations.php new file mode 100644 index 0000000..479489b --- /dev/null +++ b/includes/formreservations.php @@ -0,0 +1,25 @@ +prepare_query($sql_pquery); + $connection->prepared_query_bind_param("iss", array($client_id, $form_flight_id, $form_class_name)); + $connection->run_prepared_query(); + $connection->close_prepared_query(); + echo "Votre réservation a été annulée.
"; + redirect("index.php?page=reservations", 3); +} else { + echo "Make an error message.
"; +} + +?>