Parse error, unexpected $?

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
User avatar
peppelorum
Forum Newbie
Posts: 12
Joined: Sun Jul 21, 2002 3:19 pm
Location: Leksand, Sweden

Parse error, unexpected $?

Post by peppelorum »

gets this error..
"Parse error: parse error, unexpected $ in C:\Inetpub\wwwroot\svartfolk-php\validering.php on line 71"
and on line 71 there is just the closing for the php script and for the whole page ?>
so what can be wrong?
craginweb
Forum Newbie
Posts: 13
Joined: Fri Jul 05, 2002 12:49 am
Location: FWB Florida

Post by craginweb »

Can you post the script?
It's most likely reading the $ somewhere else and displaying the error when the script closes.
User avatar
peppelorum
Forum Newbie
Posts: 12
Joined: Sun Jul 21, 2002 3:19 pm
Location: Leksand, Sweden

Post by peppelorum »

forgot a } in a "while", that was the problem, but thanks anyway for the effort:)
Post Reply