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