I am new the PHP universe. I set up PHP 4.0.6 on Apache 1.3 on Win2k. I am getting errors when I try to run simple sample files. For example, I get the the following error,
Parse error: parse error in c:\program files\apache group\apache\htdocs\test3.php on line 9
when I have a PHP file with the following code in it:
<head>
<title>Hello World</title>
</head>
<body>
<?php
/ This is a comment - it will be ignored by PHP and will not show up
in the final output. /
echo "Hello World";
?>
</body>
but it works fine when I run a PHP file with the following code:
<?php phpinfo(); ?>
Can anyone help me please?
thanks,