Hey. I have a simple php script that is supposed to output <p>Hello World</p> to the browser. My code is exactly the same as the standard example is, but the output I get looks like this:
Hello World!
'; ?>
Why is the php code outputted itself? I am using a Firefox browser, version 3.5.9, is there maybe a problem with that? Also, if it could help, I'm running Apache 2.2
<html>
<head><title>Hello World Script</title></head>
<body>
<?php
echo '<p>Hello World!</p>';
?>
</body>
</html>
Hello World!
'; ?>
Why is the php code outputted itself? I am using a Firefox browser, version 3.5.9, is there maybe a problem with that? Also, if it could help, I'm running Apache 2.2
<html>
<head><title>Hello World Script</title></head>
<body>
<?php
echo '<p>Hello World!</p>';
?>
</body>
</html>