How to use if statement in PHP
if is used when we want to check a specified or a particular condition.It execute when the condition specified is true.
code to be executed if condition is true;
//Code to show how to use if statement in PHP
echo "Here a is greater than b";
/*Output of the above program is:
Here a is greater than b