Please login to start chat

ICT Solutions 2019-01-20 11:13:13
Category : php tutorials

If statement in php

<?php
$num1 = 30;
$num2 = 40;
if($num1 > $num2){
  echo 'Num1 is greater than Num2!';
} else if($num1 == $num2){
  echo 'Num1 and Num2 are equal!';
}else{
  echo 'Num2 is greater than Num1!';
}
?>

Comments:

No comment to show.

Available Services
Download Android Application