aktuelle.kurse/m133/Modul_Unterlagen_133_VOR/01-Modulinhalte/02 Grundlagen/01 Inlcude, Prog Strukturen/Erstellen sie ein GUI für BL endif/endif2.php
Harald G. Mueller 28ff49e098 muh
2023-06-29 07:50:41 +02:00

24 lines
347 B
PHP

<?php
$Mathenote = 1;
$Deutschnote = 5;
if ($Mathenote == 1 or $Deutschnote == 1):
?>
<h1>Gratulation zum Ferienlager!</h1>
<?php
elseif($Mathenote == 6 xor $Deutschnote == 6):
?>
<h1>Du musst leider Nachhilfeunterricht nehmen!</h1>
<?php
else:
?>
<h1>Du musst leider zuhause bleiben und lernen!</h1>
<?php
endif;
?>