Jump to content

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'...


Recommended Posts

I'm a total n00b to this and I'm trying out "PHP & MySQL for Dummies".  The first php file it tells me to test out doesn't seem to work on my dreamhost server.  here's the file:

 


<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>

 

testing the file at http://popamericana.com/test.php gives me this:

 

 

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/.ballou/popamericana/popamericana.com/test.php on line 8

 

well, this isn't a very promising start... do I need to do something on my server to get this working?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.