PHP If…Else Statements
PHP If…Else Statements
The if statement is used to execute code with condition. If the value of the condition is True then execute the statement else execute another statement or simply end the execution.
There are three combination of the If statement namely: