Commit a863d561b74219f1d83da7a192a6a605d95164c4
1 parent
120933c6
Test
Showing
1 changed file
with
5 additions
and
3 deletions
Show diff stats
site/formInscription.php
@@ -26,10 +26,12 @@ $groupes = getGroupes(); | @@ -26,10 +26,12 @@ $groupes = getGroupes(); | ||
26 | <select id="groupe" name="groupe" required /> | 26 | <select id="groupe" name="groupe" required /> |
27 | <option> </option> | 27 | <option> </option> |
28 | <?php | 28 | <?php |
29 | - /*foreach($groupes as $groupe) | 29 | + foreach($groupes as $groupe) |
30 | { | 30 | { |
31 | - echo "<option value=$groupe['id']>$groupe['nom']</option>"; | ||
32 | - }*/ | 31 | + ?> |
32 | + <option value="<php echo $groupe['id'];?>">$groupe['nom']</option> | ||
33 | + <?php | ||
34 | + } | ||
33 | ?> | 35 | ?> |
34 | </select> | 36 | </select> |
35 | </td> | 37 | </td> |