From da527a94683ea506ba2d967b5f92a346780a6f86 Mon Sep 17 00:00:00 2001 From: danielvici123 <94993276+danielvici@users.noreply.github.com> Date: Thu, 28 Nov 2024 10:46:01 +0100 Subject: [PATCH] aufgabe progp vom 24-11-28 --- progp/24-11-28/aufstellung.php | 55 ++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 progp/24-11-28/aufstellung.php diff --git a/progp/24-11-28/aufstellung.php b/progp/24-11-28/aufstellung.php new file mode 100644 index 0000000..54852dc --- /dev/null +++ b/progp/24-11-28/aufstellung.php @@ -0,0 +1,55 @@ + + + + + + Document + + +

Volleyball: Spieler anzeigen

+

Wälen sie im aus was sie sehen möchten:

+
+ +
+
+ + +".$info_auswahl.""; + echo "----------------------------
"; +} else{ + echo " "; +} + +function ausgabe($wer){ + for($i=0; $i < count($wer); $i++){ + echo $wer[$i]."
"; + } +} + +switch ($info_auswahl) { + case "startaufstellung": + ausgabe($startaufstellung); + break; + case "ersatzspieler": + ausgabe($ersatz); + break; + case "kader": + ausgabe($startaufstellung); + ausgabe($ersatz); + break; + default: + echo " "; +} + +?> \ No newline at end of file