diff --git a/BddCorrect/Correcteur.php b/BddCorrect/Correcteur.php
new file mode 100644
index 0000000..5459f58
--- /dev/null
+++ b/BddCorrect/Correcteur.php
@@ -0,0 +1,22 @@
+
+
+exec('DROP TABLE Correct');
+$db->exec('CREATE TABLE Correct (question STRING, reponse STRING)');
+$db->exec("INSERT INTO Correct VALUES ('Ceci est la question 1 ', 'réponse 1')");
+
+$reponseUser = $_POST['R1'];
+$reponseDb = $db->querySingle('SELECT reponse FROM Correct');
+
+if ($reponseDb == $reponseUser) {
+ echo 'Bonne réponse !';
+} else {
+ echo 'Mauvaise réponse !';
+}
+
+
diff --git a/BddCorrect/SqliteDb.php b/BddCorrect/SqliteDb.php
new file mode 100644
index 0000000..5eee981
--- /dev/null
+++ b/BddCorrect/SqliteDb.php
@@ -0,0 +1,10 @@
+open('test.db');
+ }
+}
+
diff --git a/BddCorrect/index.php b/BddCorrect/index.php
new file mode 100644
index 0000000..c4c6003
--- /dev/null
+++ b/BddCorrect/index.php
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+ querySingle('SELECT question FROM Correct');
+ ?>
+
+
+
diff --git a/BddCorrect/nbproject/private/private.properties b/BddCorrect/nbproject/private/private.properties
new file mode 100644
index 0000000..b492277
--- /dev/null
+++ b/BddCorrect/nbproject/private/private.properties
@@ -0,0 +1,6 @@
+copy.src.files=false
+copy.src.on.open=false
+copy.src.target=C:\\xampp\\htdocs\\PhpProject1
+index.file=index.php
+run.as=LOCAL
+url=http://localhost/BddCorrect/
diff --git a/BddCorrect/nbproject/project.properties b/BddCorrect/nbproject/project.properties
new file mode 100644
index 0000000..911a7b8
--- /dev/null
+++ b/BddCorrect/nbproject/project.properties
@@ -0,0 +1,7 @@
+include.path=${php.global.include.path}
+php.version=PHP_70
+source.encoding=UTF-8
+src.dir=.
+tags.asp=false
+tags.short=false
+web.root=.
diff --git a/BddCorrect/nbproject/project.xml b/BddCorrect/nbproject/project.xml
new file mode 100644
index 0000000..9a7e2d5
--- /dev/null
+++ b/BddCorrect/nbproject/project.xml
@@ -0,0 +1,9 @@
+
+
+ org.netbeans.modules.php.project
+
+
+ BddCorrect
+
+
+
diff --git a/BddCorrect/test.db b/BddCorrect/test.db
new file mode 100644
index 0000000..67e9aa1
Binary files /dev/null and b/BddCorrect/test.db differ