Coding · Beginner

PHP from zero

A guided path from start to finish — the best lessons, in the right order, with checkpoints that prove you can do it.

PHP from zero

Your finish line

Build and deploy a working database-driven PHP web app — forms, sessions and MySQL included.

16 steps12 lessons4 checkpointsAges 13+Free
Start this path — free

What you will do, step by step

  1. 1Lesson
    PHP in 100 Seconds
    Lesson by Fireship
  2. 2Lesson
    PHP Tutorial for Beginners: Install XAMPP & Run Your First PHP Script
    Lesson by Codynn Learns
  3. 3Checkpoint
    FIRST SCRIPT RUNNING — Install XAMPP, write a PHP file that prints your name and the date, and open it in your browser. Pass = the page loads at localhost and shows your text.
    Prove it — do it yourself.
  4. 4Lesson
    PHP variables and data types
    Lesson by Bro Code
  5. 5Lesson
    Control Structures in PHP - Conditional Statements - if/else - Full PHP 8 Tutorial
    Lesson by Program With Gio
  6. 6Lesson
    PHP for loops explained
    Lesson by Bro Code
  7. 7Lesson
    How To Create Functions In PHP - Functions Tutorial - Full PHP 8 Tutorial
    Lesson by Program With Gio
  8. 8Checkpoint
    LOGIC AND FUNCTIONS — Write a PHP script that uses variables, an if/else, a loop and a function you wrote yourself. Pass = the script runs without errors and prints the right answer for three different inputs.
    Prove it — do it yourself.
  9. 9Lesson
    PHP Array Data Type - Indexed, Associative & Multi-Dimensional Arrays - Full PHP 8 Tutorial
    Lesson by Program With Gio
  10. 10Lesson
    Get & Post Superglobals In PHP - Forms - Post Routes - Full PHP 8 Tutorial
    Lesson by Program With Gio
  11. 11Lesson
    PHP how to connect to MySQL database
    Lesson by Bro Code
  12. 12Lesson
    PHP $_SESSION explained
    Lesson by Bro Code
  13. 13Checkpoint
    DATABASE APP SAVES DATA — Build a form that saves a new record into MySQL and a page that lists all records. Pass = a record you type in the form appears in the list after a page refresh, and stays there.
    Prove it — do it yourself.
  14. 14Lesson
    Really Simple CRUD Operations Tutorial with PHP and MySQL
    Lesson by Tony Teaches Tech
  15. 15Lesson
    Deploy a PHP & MySQL Application on Shared Hosting with cPanel
    Lesson by Dave Hollingworth
  16. 16Checkpoint
    APP LIVE — Deploy your database-driven PHP app to a public host with working forms, sessions and MySQL. Pass = a friend can open your live link, submit the form, log in, and see their data saved — a working database-driven PHP web app, with forms, sessions and MySQL included.
    Prove it — do it yourself.

MyPath turns the world’s best lessons into one clear, guided path. Pick a finish line, follow your next step, and learn from start to finish — no endless feed, no autoplay, no paywall on learning.

Browse all 646 paths