Progp von 24-9-24

Dateien von PROGP vom 9.25.24. Schwerpunkt Variablen und Einleitung in PHP
This commit is contained in:
danielvici123
2024-09-26 08:19:38 +02:00
parent 806e1e78ae
commit 6bd6b15195
2 changed files with 58 additions and 0 deletions

24
progp/24-9-25/index.php Normal file
View File

@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Daniels Internetseite</title>
</head>
<body>
<p>Dies ist eine Zeile in HTML.</p><br>
<?php
echo "<h1>"."Hello World!"."</h1>"."<br>";
/* KOMMENTAR ÜBER
MEHR ALS
EINE ZEILE*/
echo "Das ist die zweite Zeile in PHP!"."<br>";
echo "Das ist die dritte Zeile in PHP!"."<br>";
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 */
?>
</body>
</html>