qn13

 <!DOCTYPE html>

<html>

<head>

<title>Sujit Thapa</title>

</head>

<body>

<?php

$str1 = "ram";

$str2 = "hari";


if(strcmp($str1, $str2)==0){

echo "$str1 and $str2 are same.";

}

else{

echo "$str1 and $str2 are not same.";

}

?>

</body>

</html>




No comments:

Powered by Blogger.