On 4/30/10 7:35 AM, Robert P. J. Day wrote:
probably about to embarrass myself but i'm looking at the PHP manual page "Your first PHP-enabled page", which suggests this as an initial PHP program:

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>

but if i enter, then browse to that page, i get as browser output:

=====
hi world

'; ?>
=====

um ... what's with those trailing characters? did i just do something hideously dumb? misconfiguration?
You probably don't have PHP enabled in your web server configuration. Try doing a view-source on that page.
Or you have a silly typo.

-Rasmus

Reply via email to