diff --git a/progp/24-9-25/index.php b/progp/24-9-25/index.php new file mode 100644 index 0000000..b7a8236 --- /dev/null +++ b/progp/24-9-25/index.php @@ -0,0 +1,24 @@ + + + + + + + Daniels Internetseite + + + +

Dies ist eine Zeile in HTML.


+ "."Hello World!".""."
"; + /* KOMMENTAR ÜBER + MEHR ALS + EINE ZEILE*/ + echo "Das ist die zweite Zeile in PHP!"."
"; + echo "Das ist die dritte Zeile in PHP!"."
"; + echo "Das ist das Ende"; + /* MERKE: Für PHP, Datei speichern in PErsöhnlicher Ordner, public_html + mit Endung .php Dann mit Browser öffnen: localhost/~cwikladaniel/dateiname.php */ + ?> + + diff --git a/progp/24-9-25/variablen.php b/progp/24-9-25/variablen.php new file mode 100644 index 0000000..e0dde6e --- /dev/null +++ b/progp/24-9-25/variablen.php @@ -0,0 +1,34 @@ + + + + + + Document + + + + "; + /* GANZZAHL */ + $note = 1; + echo $note."
"; + /* NEGATIVE GANZZAHL */ + $negzahl = -2; + echo $negzahl."
"; + /* Kommazahl */ + $kommazahl=1.23; + echo $kommazahl."
"; + /* Große Zahl*/ + $grossezahl = 5.5e6; + echo $grossezahl."
"; + /* */ + $kleinzahl = 1.2e-3; + echo $kleinzahl."
"; + /* */ + /* ."
" */ + ?> + + + \ No newline at end of file