So this is almost definitely a newbie question, but I'm going through the w3 tutorial on php and on my server I can only get echo to work sometimes.
For example in one trial they have me submitting inputs in one form and picking them up in another, and echo works in that case, but in this code it won't:
<html>
<body>
<p>
This should work!! <?php
$str = "Hello, World!";
echo $str;
?>
It failed...
</p>
</body>
</html>
The output should just be: This should work!! Hello, World! It failed...
But instead it just returns This should work!! It failed...
, to the html page when I look at it.
Any ideas on how I could possibly get this to work?