diff --git a/class/objet.php b/class/objet.php index 1296e2392f8567082454bab7f9644efc12ddcf8c..d8c804642317a435d84ee615fe9c2fa55df2e37f 100644 --- a/class/objet.php +++ b/class/objet.php @@ -21,6 +21,7 @@ class Objet $requete_prepare = $bdd->db->prepare("SELECT * FROM :table"); // on prépare notre requête $requete_prepare->execute(array( 'table' => $dbName )); while($ligne = $requete_prepare->fetch(PDO::FETCH_ASSOC)) { + echo print_r($ligne, true) . "<br />"; $temp = new $className(); $temp->fromDb($ligne); $result[] = $temp;