PHP Tutorials
A full PHP course: syntax, arrays, forms, sessions, PDO, Composer, and everyday web basics.
This course includes 18 lessons grouped from first steps to more capable workflows. Work through a group in order, or jump to the task you need today. Every lesson includes explanations, copyable examples, and tips written for beginners.
Cheatsheet · Search this course · Programming category · All categories
Getting started
Topic pageLanguage basics
Topic pageWeb basics
Topic pageData and packages
Topic page- PDO IntroQuery a database safely with PDO prepared statements.
- SessionsRemember data across requests with PHP sessions.
- Composer BasicsManage PHP dependencies with Composer and autoloading.
- ErrorsDisplay, log, and throw errors productively while learning.
- File BasicsRead and write local files with careful error checks.
- JSON BasicsEncode and decode JSON for APIs and simple storage.