<html>
<body>
<h1>The and Operator</h1>
<p>Write a message if both conditions are true.</p>
$x = 100;
$y = 50;
if ($x == 100 and $y == 50) {
echo "Hello world!";
}
</body>
</html>
Write a message if both conditions are true.
Hello world!