"exo 1 tp3 ok + format"

This commit is contained in:
JunkJumper 2020-10-05 11:18:02 +02:00
parent 5bc7086f0d
commit 15485ce072
2 changed files with 8 additions and 9 deletions

View File

@ -32,8 +32,6 @@ $tVins = $tab['vins'];
$vins = ""; $vins = "";
$denom = "Damoixe"; $denom = "Damoixe";
print_r($tVins);
if ($tab['genre'] == "Homme") { if ($tab['genre'] == "Homme") {
$denom = "Monsieur"; $denom = "Monsieur";
} else if ($tab['genre'] == "Femme") { } else if ($tab['genre'] == "Femme") {

View File

@ -32,13 +32,14 @@
<input type="radio" name="formulaire[genre]" value="Poly-genre" />Poly-genre <input type="radio" name="formulaire[genre]" value="Poly-genre" />Poly-genre
<input type="radio" name="formulaire[genre]" value="Genderfluid" />Genderfluid <input type="radio" name="formulaire[genre]" value="Genderfluid" />Genderfluid
<br /> <br />
Vin(s) Choisi(s) : Vin(s) Choisi(s) : <br />
<input type="checkbox" name ="formulaire[vins][st_emilion]" value="St_Emilion" />St Emilion <input type="checkbox" name ="formulaire[vins][st_emilion]" value="St_Emilion" />St Emilion <br />
<input type="checkbox" name ="formulaire[vins][chateau_hermitage]" value="Chateau_Hermitage" />Château lHermitage <input type="checkbox" name ="formulaire[vins][chateau_hermitage]" value="Chateau_Hermitage" />Château lHermitage <br />
<input type="checkbox" name ="formulaire[vins][entre_les_deux_mers]" value="Entre_les_Deux_Mers" />Entre les Deux Mers <input type="checkbox" name ="formulaire[vins][entre_les_deux_mers]" value="Entre_les_Deux_Mers" />Entre les Deux Mers <br />
<input type="checkbox" name ="formulaire[vins][fitou]" value="Fitou" />Fitou <input type="checkbox" name ="formulaire[vins][fitou]" value="Fitou" />Fitou <br />
<input type="checkbox" name ="formulaire[vins][bandol]" value="Bandol" />Bandol <input type="checkbox" name ="formulaire[vins][bandol]" value="Bandol" />Bandol <br />
<input type="checkbox" name ="formulaire[vins][cote_de_provence]" value="Cote_de_Provence" />Côte de Provence<br /> <input type="checkbox" name ="formulaire[vins][Cote_de_provence]" value="Cote_de_Provence" />Côte de Provence <br />
<input type="checkbox" name ="formulaire[vins][Apple Cider]" value="Apple Cider" />Apple Cider <br />
<input type="submit" value="Envoyer" /> <input type="submit" value="Envoyer" />
</form> </form>