Jump to content


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


Parse Error

Recommended Posts

I'm just starting out php so this may just be a simple fix of something dumb. I am following a workbook and it told me to create a file called moviesite.php and enter this code:

<TITLE>My Movie Site</TITLE>
define (“FAVMOVIE”, “The Life of Brian”);
echo “My favorite movie is “;

It didn't work when I typed it in manually, so I copied and pasted it straight from the manual but when I try to open it up in my browser I get this response "Parse error: parse error, unexpected T_STRING in C:\Program Files\xampp\htdocs\moviesite.php on line 7". Any suggestions would be much appreciated.

Share this post

Link to post
Share on other sites
[!--quoteo(post=387499:date=Jun 24 2006, 11:44 AM:name=Crayon Violent)--][div class=\'quotetop\']QUOTE(Crayon Violent @ Jun 24 2006, 11:44 AM) [snapback]387499[/snapback][/div][div class=\'quotemain\'][!--quotec--]
those look like the funny quotes. try using " or '

You........... Are a genius. lol. Thanks a lot.

Share this post

Link to post
Share on other sites


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.