Skip to content
Snippets Groups Projects
Commit ce00fc6d authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files
parents 4b0fbf09 ff191025
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 register or to comment