if/else statement: 2 is smaller than 4


Case statement: c equals 3

Condtions work by using built in PHP condition statments such as if/else or case which are both used above. They work by entering variables and determining whether they fit a certain criteria or not and respond in whatever way the criteria strikes.