Conditions Example
This is my first example of else, if statements
6 plus 9 does equal 15!
This is my second example of else, if statment
4 plus 12 does not equal 15 or 10!
This is my example of a PHP case statement, see my code below
to understand how it works
Thursday
Conditions work by evaluating the statment to make sure it is true, if it
is then the statment will print out what you have written. Conditions evaluate
the logic in PHP.
The if statment will execute if the condition is true, the if else statement
will execute if a condition is true but the other one is false ect..
For cases we set it equal to what we want to be evaluated
if it matches up then the condition will be printed out. It tests a variable
against a series of values until it finds a match.