Skip to content
Snippets Groups Projects
Commit 01ea67ff authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

debug

parent b48ba530
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment