Posted in

PHP in if statement program

  what is If statement in php?

यदि एक शर्त सत्य है, तो if कथन कुछ कोड निष्पादित करता है।

Program

<?php 

 

 $a=120; 

  

 if($a==120) 

 { 

  echo “a value is 120”; 

 } 

 

?>

Output :

a value is 120

Leave a Reply

Your email address will not be published. Required fields are marked *