parse error, expecting `','' or `';''

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Paws
Forum Newbie
Posts: 15
Joined: Sun Nov 30, 2008 8:26 am

parse error, expecting `','' or `';''

Post by Paws »

I get that error, the line in my code is

Code: Select all

echo  $info_q['forum_name']; 
Help please :(
marty pain
Forum Contributor
Posts: 105
Joined: Thu Jun 11, 2009 5:32 am
Location: Essex

Re: parse error, expecting `','' or `';''

Post by marty pain »

can you post more of the code, couple of lines above and below this one.
Paws
Forum Newbie
Posts: 15
Joined: Sun Nov 30, 2008 8:26 am

Re: parse error, expecting `','' or `';''

Post by Paws »

Code: Select all

echo '<title>'
echo  $info_q['forum_name'];
echo '</title>';
marty pain
Forum Contributor
Posts: 105
Joined: Thu Jun 11, 2009 5:32 am
Location: Essex

Re: parse error, expecting `','' or `';''

Post by marty pain »

thought so,

Look at the line above carefully.
Post Reply