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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.