PHP by Example

If/Else

It's common when programming to only do something when a particular condition is met. You can use if, elseif and else in your code to achieve this.


Next: For