diff --git a/connection.php b/connection.php
new file mode 100644
index 0000000..e0725ab
--- /dev/null
+++ b/connection.php
@@ -0,0 +1,33 @@
+setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
+}
+
+
+/** * @param string $query
+ * @param array $parameters *
+ * @return bool Returns `true` on success, `false` otherwise
+*/
+
+public function executeQuery(string $query, array $parameters = []) : bool{
+ $this->stmt = parent::prepare($query);
+ foreach ($parameters as $name => $value) {
+ $this->stmt->bindValue($name, $value[0], $value[1]);
+ }
+
+ return $this->stmt->execute();
+}
+
+public function getResults() : array {
+ return $this->stmt->fetchall();
+
+}
+}
+
+?>
\ No newline at end of file
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..54961ad
--- /dev/null
+++ b/index.php
@@ -0,0 +1,40 @@
+
+
+
+
+insert($t, 1);
+
+ $tabTache=$gateway->getTacheFromIdList(1);
+ foreach($tabTache as $tache){
+ print($tache);
+ echo "
";
+ }
+}
+catch( PDOException $Exception ) {
+ echo 'erreur';
+ echo $Exception->getMessage();
+}
+?>
+
+
+
\ No newline at end of file
diff --git a/liste.php b/liste.php
new file mode 100644
index 0000000..949b959
--- /dev/null
+++ b/liste.php
@@ -0,0 +1,62 @@
+id=$id;
+ $this->name=$name;
+ $this->$creator=$creator;
+ $this->$taches=$taches;
+ }
+
+ public function __toString()
+ {
+ return $this->id . " " . $this->name . " " . $this->creator;
+ }
+
+ public function getId(){
+ return $id;
+ }
+
+ public function getName(){
+ return $name;
+ }
+
+ public function getCreator(){
+ return $creator;
+ }
+
+ public function getTaches(){
+ return $taches;
+ }
+
+ public function setName(string $name){
+ $this->name=$name;
+ }
+
+ public function setPrivate(boolean $private){
+ $this->private=$private;
+ }
+
+ public function setCreator(string $creator){
+ $this->creator=$creator;
+ }
+
+ public function setTaches(array $taches){
+ $this->taches=$taches;
+ }
+
+}
+
+?>
\ No newline at end of file
diff --git a/page.html b/page.html
index 086cdcf..02262eb 100644
--- a/page.html
+++ b/page.html
@@ -31,4 +31,4 @@