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