From aad58a057640120027650ab3847212ba1178538e Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 18 Mar 2018 20:20:03 +0100 Subject: version 01 --- public/index.php | 50 +------------------------------------------------- 1 file changed, 1 insertion(+), 49 deletions(-) (limited to 'public/index.php') diff --git a/public/index.php b/public/index.php index 9b8a61b..2409769 100644 --- a/public/index.php +++ b/public/index.php @@ -1,51 +1,3 @@ w - - -getMessage()); -} - -// $reponse = $bdd->query('SELECT nom, age FROM art2 WHERE nom = \'eddie\''); - -// while ($donnees = $reponse->fetch()) -// { -// echo $donnees['nom'] . ' a ' . $donnees['age'] . ' ANS
'; -// } - -// $reponse->closeCursor(); - -// $req = $bdd->prepare('SELECT nom, age FROM art2 WHERE age = 23 '); -// $req->execute(array($_GET['possesseur'], $_GET['prix_max'])); - -// echo ''; - -// $req->closeCursor(); - -$req = $bdd->prepare('SELECT * FROM art WHERE id = :id '); -$req->execute(array('id' => 'articlet')); - -echo ''; - -$req->closeCursor(); - - - -?> \ No newline at end of file + \ No newline at end of file -- cgit v1.2.3