If/Else Condition Example

10 plus 55 does equal 65!

PHP Case Example

Today is Monday.

How Conditions Work


Conditions let a program make decisions based on information. An if statement checks if something is true or false. An else statement gives another result when the condition is false. A case statement checks different possible values.