From b090e2741ea5dffe101d292c1972834db859dd45 Mon Sep 17 00:00:00 2001 From: "victor.soulier" Date: Fri, 17 Nov 2023 08:24:51 +0100 Subject: [PATCH] =?UTF-8?q?Suppression=20code=20comment=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/src/index.php | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/project/src/index.php b/project/src/index.php index b57d176..f8c5cf5 100644 --- a/project/src/index.php +++ b/project/src/index.php @@ -17,26 +17,4 @@ $cont = new FrontController(); - - - - -/* -try{ - $con=new model\Connection($dsn,$login,$mdp); - - $query = "SELECT * FROM categorie WHERE id=:id"; - - - echo $con->executeQuery($query, array(':id' => array(1, PDO::PARAM_INT) ) ); - - $results=$con->getResults(); - Foreach ($results as $row) - print $row['titre']; - - -} -catch( PDOException $Exception ) { - echo 'erreur'; - echo $Exception->getMessage();} -*/ \ No newline at end of file + \ No newline at end of file