From 5c9cd5a6fd91071105411ddb4deaef38c1c49101 Mon Sep 17 00:00:00 2001 From: nathan boileau Date: Fri, 25 Nov 2022 18:50:58 +0100 Subject: [PATCH] bd --- WEB/index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/WEB/index.php b/WEB/index.php index 6788f56c..186b2516 100644 --- a/WEB/index.php +++ b/WEB/index.php @@ -5,7 +5,12 @@ Autoload::charger(); echo "test"; -$control = new FrontController(); +$db = new Connection(); +$db->exec('INSERT INTO Utilisateur VALUES ("e","e","e", false)'); +$res = $db->exec('SELECT * FROM Utilisateur'); +echo $res; + +// $control = new FrontController(); //session_regenerate_id(true);