Commit 2f67e41ad5990e52c61b872cc1a9e57357077850
1 parent
e6535222
Test
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
site/formInscription.php
1 | <?php | 1 | <?php |
2 | if(getGroupe($_SESSION['Login'])!=1) | 2 | if(getGroupe($_SESSION['Login'])!=1) |
3 | { header("Location: accueil.php"); } | 3 | { header("Location: accueil.php"); } |
4 | -$groupes = getGroupes(); | 4 | +//$groupes = getGroupes(); |
5 | ?> | 5 | ?> |
6 | <div class="row"> | 6 | <div class="row"> |
7 | <div class="col-4 col-md-4 offset-md-4 offset-4"> | 7 | <div class="col-4 col-md-4 offset-md-4 offset-4"> |
@@ -26,10 +26,10 @@ $groupes = getGroupes(); | @@ -26,10 +26,10 @@ $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>"; | 31 | echo "<option value=$groupe['id']>$groupe['nom']</option>"; |
32 | - } | 32 | + }*/ |
33 | ?> | 33 | ?> |
34 | </select> | 34 | </select> |
35 | </td> | 35 | </td> |