Buy your loved one the ultimate gift. Lifetime gift certificates are $100 off.

Published On Jul. 7th 2016

The PHP Practitioner: Step 9: Conditionals

Episode 9 Run Time 6:58

Download

A conditional is how we branch our logic into different paths. "If some value is true, then we want to proceed in this way. Otherwise, let's handle it in that way." As you can see, booleans and conditionals go hand-in-hand.

Homework: Continue tinkering with conditionals. Add a new boolean to your task array, and use its value to branch off into two different paths within your HTML.