PHP if Statement


An if statement is a single selection or decision statement.it used when we have only one alternative.
Syntax:-
    If(expression)
  {
   statement 1
   statement 2
         .
         .
   statement n
  }
Note:- the statements are executed if the condition is true.

W.A.P to print maximum of two numbers

ifphp