Stage 1 of 6

Programming basics with PHP

Variables, control flow, functions, arrays and handling form input with PHP.

3–4 weeks1 topic2 resources1 exercise
Free. Tick off topics as you go.

Topics to learn1

Work through these in order. Each one is a free tutorial.

  1. PHP Tutorial

    5 lessons · ~0.5 hrs

Free resources2

Docs, videos and articles we recommend. They open in a new tab.

  1. PHP manual: Language reference

    Docs

  2. PHP Programming Language Tutorial (freeCodeCamp)

    Optional

    Video

Practice exercises1

Short exercises to lock in what you learned. Tick them off when done.

  1. Build a command-line grade calculator

    Exercise · ~3 hrs