<html>
<body>
<h1>The < Operator</h1>
<p>Compare two variables and write a message if $y is less than $x.</p>
$x = 100;
$y = 50;
if ($y < $x) {
echo "$y is less than $x";
}
</body>
</html>
Compare two variables and write a message if $y is less than $x.
50 is less than 100