My code is:
<!DOCTYPE html>
<html>
<head>
We are done <br>
</head>
<body>
<?php
$txt1 = "Learn PHP";
$txt2 = "W3Schools.com";
$x = 3;
$y = 4;
echo "<h2>" . $txt1 . "</h2>";
echo "Study PHP at " . $txt2 . "<br>";
echo $x + $y;
?>
</body>
</html>
and output in my browser is:
We are done
> " . $txt1 . ""; echo "Study PHP at " . $txt2 . ""; echo $x + $y; ?>
What should I investigate, as something is wrong with my configuration?