I am trying to run my first php script on wamp/win7.
The wamp default page comes up fine, and phpinfo works, so the conf is ok.
When I try to run the following:
[code]<!doctype html>
PHP TestThis is an HTML line
<?php echo “This is a PHP line
”; phpinfo(); ?> [/code]I get the following error
Parse error: syntax error, unexpected ‘>’ in C:\wamp\www\first.php on line 9
Line 9 is the echo statement.
When, I remove the line, phpinfo comes up fine. I am unable to see what is wrong with that line.
Please help.