Skip to content
Snippets Groups Projects
Commit 7df96309 authored by suprasanity's avatar suprasanity
Browse files

ok sa marche

parent 00cc3324
No related branches found
No related tags found
No related merge requests found
......@@ -91,9 +91,11 @@ if(isset($_GET['recetteId']) && !empty($_GET['recetteId'])){
<h4>Ingredients</h4>
<?php
$ingredient=getIngredients($recetteId);
$i=0
foreach($ingredient as $valeur){
$i++;
echo "<div class='custom-control custom-checkbox'>";
echo "<input type='checkbox' class='custom-control-input'id=customCheck1>";
echo "<input type='checkbox' class='custom-control-input'id=customCheck".$i."'>";
echo" <label class='custom-control-label' for='customCheck1'>".$valeur["nom"]."</label>";
echo"</div>";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment