From 5c2a2e868b641ef4791b8105ff3d26fe95d2603f Mon Sep 17 00:00:00 2001
From: zoe
Date: Mon, 8 Jun 2026 13:33:08 +0200
Subject: [PATCH] =?UTF-8?q?deplacer=20les=20fichiers=20=C3=A0=20la=20main?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
controllers/contact_crtl.php | 52 ++++++++++++++++++++++
models/contact_crud.php | 23 ++++++++++
views/contact_views.php | 86 ++++++++++++++++++------------------
3 files changed, 118 insertions(+), 43 deletions(-)
create mode 100644 controllers/contact_crtl.php
create mode 100644 models/contact_crud.php
diff --git a/controllers/contact_crtl.php b/controllers/contact_crtl.php
new file mode 100644
index 0000000..e5400c6
--- /dev/null
+++ b/controllers/contact_crtl.php
@@ -0,0 +1,52 @@
+prepare($req);
+
+ $prep->bindValue(':nom', $nom);
+ $prep->bindValue(':prenom', $prenom);
+ $prep->bindValue(':dep', $dep);
+ $prep->bindValue(':spe', $spe);
+ $prep->bindValue(':tel', $tel);
+ $prep->bindValue(':date', $date);
+
+
+ $prep->execute();
+}
+
+
diff --git a/views/contact_views.php b/views/contact_views.php
index 515fa5c..3bfae72 100644
--- a/views/contact_views.php
+++ b/views/contact_views.php
@@ -1,50 +1,50 @@
-
+
-Ajout de personnes
+Ajouts de personnes
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+