courses / php
learn php
Three levels, from never written code to writing it like a professional. Powering a huge slice of the web.
from zero to your first real programs.
For people who have never written a line of code. Nothing is assumed: every new word is explained the moment it appears.
1 unit 1 Say hello Make the computer do exactly what you tell it.
2 unit 2 Boxes with names Make the computer remember things.
3 unit 3 Words and numbers Tell text and numbers apart and use both.
4 unit 4 Make decisions Make your program choose what to do.
5 unit 5 Repeat yourself Do the same thing many times without copying.
6 unit 6 Arrays Keep many things together and work through them.
7 unit 7 Your own commands Wrap code up so you can use it again.
build things that are actually useful.
For people who finished Level 1, or can already write small programs with variables, decisions, loops and functions.
1 unit 1 Arrays with labels Label your data, look it up by name, and pack records together.
2 unit 2 Arrays at work Sort, change and sift whole arrays in a single line.
3 unit 3 Text in shape Split, search and format text so it reads well.
4 unit 4 Visitors and forms Take what visitors send, check it, and show it safely.
5 unit 5 Remember things Keep data between page visits and between runs.
6 unit 6 Databases Store, find and change data with SQLite and PDO.
7 unit 7 Safer code Declare types, throw clear errors and catch them on purpose.
write php like a professional.
For people who build things on their own and want code that others trust and can change.