Create a dynamic website with PHP
Difficulty: Beginner ● Progress: 0 / 0 modules completed
IF/THEN/ELSE condition

Conditions are part of the "standard" logic of all programming languages.
They allow you to define whether one or more lines of code should be executed or not.
A condition will always precede a "block" of line(s) of code, which will only be executed if the condition in question is "true", and which will be ignored otherwise.
You need a free account to read this module