Forum Moderators: coopster
This might be an easy question but here goes:
I am very new to php. I am trying to test this code on my web server
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<p>This is an HTML line<p>
<?php
echo “This is a PHP line”;
phpinfo();
?>
</body>
</html>
but I get this error message
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/urbi9365/public_html/test.php on line 8
I not sure what it means...If somebody could please explain the problem
Thanks
Perhaps those are not double quotation marks [php.net] in your echo statement?