Commit 5002f2f7 authored by SCHNEIDER Remi's avatar SCHNEIDER Remi
Browse files

ajout d'un test pour GetRecipes dans Hierarchy.php

parent ee8d0608
...@@ -50,6 +50,14 @@ ...@@ -50,6 +50,14 @@
} }
echo '</div>'; echo '</div>';
} }
// TEST DE GETRECIPES
/*$tabVide = [];
$recipes_with_aliment = getRecipes(get_all_aliments($aliment), $tabVide, 0, false, false);
echo '<div class="category-view">';
echo '<h1> Toutes les recettes contenant '.$aliment.' </h1>';
foreach($recipes_with_aliment as $recipe) {
echo '<li>'.$recipe['titre'].'</li>';
}*/
echo '</div>'; echo '</div>';
?> ?>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment