courses / php

learn php

Three levels, from never written code to writing it like a professional. Powering a huge slice of the web.

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. 0 of 4 · 34 min
  1. Keys instead of numbers8 min
  2. Keys and values in a loop8 min
  3. Is it there?9 min
  4. Arrays inside arrays9 min
2 unit 2 Arrays at work Sort, change and sift whole arrays in a single line. 0 of 4 · 36 min
  1. Sorting8 min
  2. Change every item9 min
  3. Keep only some9 min
  4. Sorting your own way10 min
3 unit 3 Text in shape Split, search and format text so it reads well. 0 of 4 · 37 min
  1. Splitting text9 min
  2. Formatting with sprintf10 min
  3. Searching inside text10 min
  4. One thing or another8 min
4 unit 4 Visitors and forms Take what visitors send, check it, and show it safely. 0 of 4 · 38 min
  1. A pretend request9 min
  2. Checking what came in10 min
  3. Filters do the fiddly checks9 min
  4. Escaping output10 min
5 unit 5 Remember things Keep data between page visits and between runs. 0 of 4 · 37 min
  1. Sessions9 min
  2. Writing and reading a file9 min
  3. Reading line by line9 min
  4. Saving data as JSON10 min
6 unit 6 Databases Store, find and change data with SQLite and PDO. 0 of 4 · 43 min
  1. A database in your program11 min
  2. Getting rows back10 min
  3. Placeholders keep you safe11 min
  4. Changing and counting rows11 min
7 unit 7 Safer code Declare types, throw clear errors and catch them on purpose. 0 of 4 · 41 min
  1. Type declarations10 min
  2. Throwing an exception9 min
  3. Catching an exception10 min
  4. Putting it all together12 min
end of level 2 level check Build one small project with everything from this level. Pass it and your face levels up. see the check