sk web
sk web
EXAMPLE : <?PHP
$ a=”Amar”;
$ b=”Akbar”;
IF ($ a= =$ b);
Echo “Both string are equal”;
Echo “IF block not executed”;
?>
Example :
<?PHP
$var 1=”PHP”;
$var 2= “JAVA”;
Echo “Both the string are equal”;
Else
Echo “Both the string are not equal”;