PHP Tutorial - Inhaltsverzeichnis
- Einführung
Eine kurze Einführung in das Tutorial und was Sie hier lernen können.
- Lektion 1: Was ist PHP
Ein wenig darüber, wie PHP funktioniert und was es bedeutet, dass PHP eine serverseitige Technologie ist und was Sie in den folgenden Lektion lernen werden.
- Lektion 2: Server
Wir beleuchten verschiedene Möglichkeiten, PHP auf dem eigenen Computer oder einem gehosteten Webserver zu verwenden.
- Lektion 3: Ihre erste PHP-Seite
In dieser Lektion erstellen Sie Ihre erste, sehr einfache PHP-Seite. Hier können Sie auch testen, ob Ihr Server für das Ausführen von PHP konfiguriert ist.
- Lektion 4: Arbeiten mit Zeit und Daten
Einführung in Functions (Funktionen), die zum Arbeiten mit Zeiten und Daten genutzt werden können.
- Lektion 5: Schleifen
Schleifen können Teile eines Skriptes wiederholen. In dieser Lektion sehen wir uns die while- und for-Schleifen genauer an.
- Lektion 6: Conditions (Bedingungen)
Sog. Conditions können dazu verwendet werden, die Ausführung eines PHP-Skriptes zu kontrollieren. Wir behandeln hier if ... elseIf ... else ... und switch ... case.
- Lektion 7: Skripte erläutern/kommentieren
Kommentare machen Ihre PHP-Skripte klarer und einfacher verständlich. Erläuterungen können eine große Hilfe sein, wenn Sie oder jemand anderes, später Änderungen an Ihrem Code vornehmen muss.
- Lektion 8: Arrays (Felder)
In dieser Lektion lernen Sie, was ein sog. Array ist, wie und wofür er genutzt werden kann.
- Lektion 9: Functions (Funktionen)
In den vorherigen Lektionen haben Sie gelernt, unterschiedliche PHP-eigene Functions zu benutzen. Jetzt werden Sie lernen, Ihre eigenen zu erstellen.
- Lektion 10: Variablen über die URL weitergeben
Lernen Sie, wie man Variablen und deren Werte von einer Seite an eine andere mit Hilfe des sog. 'HTTP query string' weitergibt.
- Lektion 11: Verarbeitung von Formular-Variablen
Interaktive Webseiten verlangen Eingaben von Nutzern. Eine der üblichsten Arten, an diese Eingaben zu gelangen, sind Formulare.
- Lektion 12: Sessions (Sitzungen)
Sog. Sessions können dazu verwendet werden, Informationen während eines Besuches eines Nutzers auf Ihrer Seite zu speichern und wieder abzurufen.
- Lektion 13: Cookies
Cookies können verwendet werden, um Informationen über einen Nutzer über einen Besuch hinaus zu speichern und (z.B. beim nächsten Besuch) wieder abzurufen.
- Lektion 14: Filesystem-Functions (Dateisystem-Funktionen)
Hiermit können Sie auf das Dateisystem des Servers zugreifen. Dies erlaubt Ihnen, Dateien, Ordner oder Laufwerke mit PHP-Scripten zu verändern.
- Lektion 15: Aus einer Text-Datei lesen
In dieser Lektion werden wir die Filesystem-Functions benutzen, um aus einer Text-Datei zu lesen. Text-Dateien können sehr nützlich sein, um Daten verschiedener Art zu speichern.
- Lektion 16: In eine Text-Datei schreiben
Diese Lektion handelt von den Möglichkeiten, mit den Filesystem-Functions in eine Text-Datei zu schreiben. Text-Dateien können sehr nützlich sein, um Daten verschiedener Art zu speichern.
- Lektion 17: Datenbanken
In diesem Tutorial verwenden wir MySQL-Datenbanken. MySQL ist das am häufigsten verwendete Datenbanksystem, wenn man anfängt Datenbanken mit PHP nutzen wollen.
- Lektion 18: Datenbanken und Tabellen erstellen
In dieser Lektion betrachten wir zwei Arten, wie man Datenbanken und Tabellen anlegen kann. Zuerst, wie es mit PHP gemacht wird und dann mit dem benutzerfreundlicheren Software-Tool: PhpMyAdmin.
- Lektion 19: Daten in eine Datenbank einfügen
Lernen Sie, wie Sie SQL-Anweisungen benutzen, um Daten in eine Datenbank einzufügen. Wir betrachten auch Datentypen und weisen auf die häufigsten Anfängerfehler hin.
- Lektion 20: Daten aus einer Datenbank abrufen
Lernen Sie, wie man eine SQL-Anfrage nutzt, um Daten aus einer Datenbank abzurufen.
- Lektion 21: Daten aus einer Datenbank löschen
Lernen Sie, wie man mit SQL Datensätze aus einer Datenbank löscht.
- Lektion 22: Daten in einer Datenbank aktualisieren/ändern
In dieser letzten Lektion werden Sie lernen, wie man Daten mit einer SQL-Anweisung aktualisiert/ändert.
Einführung >>