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
snowrhythm
Forum Commoner
Posts: 75 Joined: Thu May 04, 2006 1:14 pm
Location: North Bay Area, CA
Post
by snowrhythm » Fri Jul 13, 2007 9:43 am
i'm getting this error:
Parse error: parse error, unexpected ';', expecting T_FUNCTION ... on line 20
but there's no ; on line 20! i've looked everywhere for it, and i can't find it. has anyone run into this before?
purinkle
Forum Newbie
Posts: 12 Joined: Fri Jul 13, 2007 6:54 am
Post
by purinkle » Fri Jul 13, 2007 9:50 am
Is there one at the end of line 20?
Check that there is one at the end of line 19 as well
snowrhythm
Forum Commoner
Posts: 75 Joined: Thu May 04, 2006 1:14 pm
Location: North Bay Area, CA
Post
by snowrhythm » Fri Jul 13, 2007 9:52 am
nope, i've side-scrolled that document a million times, no ;
purinkle
Forum Newbie
Posts: 12 Joined: Fri Jul 13, 2007 6:54 am
Post
by purinkle » Fri Jul 13, 2007 9:57 am
Are all your " and ' closed?
snowrhythm
Forum Commoner
Posts: 75 Joined: Thu May 04, 2006 1:14 pm
Location: North Bay Area, CA
Post
by snowrhythm » Fri Jul 13, 2007 10:06 am
found the problem...i closed a php tag before the last curly brace of a class and that messed it up i guess.
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Fri Jul 13, 2007 11:23 am
Can you edit your title to include [SOLVED] in it so guys like me don't open it?