You are an adult.
Today is Monday.
Conditions allow a PHP program to make decisions. An if/else statement checks whether something is true or false and chooses what code should run. A switch statement uses cases to compare one value with several possible choices and then runs the matching section of code.
Back to Home