Re: unexpected $ ???
| From: | firepages | Date: | Sun, 19 May 2002 04:24:27 +0000 |
| Subject: | Re: unexpected $ ??? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13615@lists.php.net to get a copy of this message | ||
Hi I have had that one too, and it was sod all to do with a missing or
unexpected $ ;)
if the error points to the last line of your code chances are that you have
missed a closing brace somewhere in a loop or if/else statement, I have
found 3 or 4 new/well_I_have_never_seen_them error messages in PHP4.2.0 all
of which bear little resemblence to the actual error, its annying at first
but eventually you can make a guestimate to associate reported errors with
the actual cause.
Regards.
Simon Wheeler
firepages
"Zac Hillier" <zac@affectors.net> wrote in message
news:008501c1f4e6$1be914c0$667ba8c0@affectors...
Hi All,
I'm new to this and have a strange error message - can anyone shed some
light?
I have included a file into my main page that uses php to build an area of
html and javascript. I always get this error:
Parse error: parse error, unexpected $ in d:\php-dev\includes\frmBuilder.php
on line 161
Line 161 is the end of the file, I have checked back through the code and
the code around the include statement and cannot find any errors in syntax
or missing '$'.
Can anyone suggest what 'unexpected $ ' is referring to?
Many thanks,
Zac