Re: Need advice on weird Parse error in conditional...
| From: | Todd Daniel Woodward | Date: | Sat, 16 Sep 2000 00:42:46 +0000 |
| Subject: | Re: Need advice on weird Parse error in conditional... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17000@lists.php.net to get a copy of this message | ||
on 9/15/00 2:55 PM, Boget, Chris at Chris.Boget@wild.net wrote:
>> I'm getting a PARSE error at "}". I'm sure it's something
>> stupid, but I can't figger' it out for some reason after spending
>> 4 hours on it.
>
> The problem is that you are missing a beginning or ending
> curly brace somewhere. You are going to have to go through
> one by one and figure out where it is. Try commenting out
> your include to minimize your search and go from there.
Actually, I discovered it was something entirely different. I had all my
"{}" in the right place...
It was thinking in to literal of terms instead of the compiled nature of
PHP4.
What was happening is that PHP4 was taking the first include, during compile
it is not finding the other "}" which was in the other include it hadn't
even gotten to yet.
I learned something new. Besides, my code was way to complicated for the
job.
Thanks,
Todd Daniel Woodward
Technical Consultant
RadioDigest.com
http://radiodigest.com