PHP Tutorial
Build dynamic websites and back ends with modern PHP 8.5.
35 free lessons
Beginner to Intermediate
Covers PHP 8.5
Start the first lesson Continue where you left off
Getting Started
- 1PHP Introduction
- 2Install PHP & Run Your First Script
- 3PHP Syntax & echo
- 4Variables
- 5Data Types
- 6Strings
- 7Numbers & Math
- 8Constants
- 9Operators
Control Flow & Functions
PHP for the Web
- 16Superglobals
- 17Handling Forms
- 18Form Validation & Escaping
- 19Sessions & Cookies
- 20Reading & Writing Files
- 21File Uploads
- 22include & require
- 23Dates & Times
- 24JSON & APIs
- 25AJAX with fetch() and PHP (coming soon)
- 26Regular Expressions (coming soon)
Object-Oriented PHP
- 27Classes & Objects
- 28Inheritance, Interfaces & Traits
- 29Enums, Readonly & Property Hooks
- 30Namespaces & Composer
- 31Errors & Exceptions
PHP & MySQL
Going Further
Learn PHP with a mentor
Free lessons get you started. Our Full Stack Web Development training adds real projects and code reviews from working developers.
- Project-based learning
- Mentor code reviews
- Free counselling call
