Re: mystery line
| From: | Leon | Date: | Thu, 05 Dec 2002 06:39:57 +0000 |
| Subject: | Re: mystery line | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17277@lists.php.net to get a copy of this message | ||
Hi
This is probably something very simple like a missing '}'. Check that all
functions are closed! You could even do a count on the '}' character and check
that it returns an even no. though this is not fool-proof.
Cheers
jpirtle wrote:
> Please help:
>
> I'm working through PHP Fast & Easy Web Development tutorial book by Julie
> C. Meloni. It's pretty good. But I've fat-fingered in a script
> (Alllinone_form.php) and I get the following error.
>
> Parse error: parse error in c:\program files\apache
> group\apache\htdocs\testing\allinone_form.php on line 70
>
> The script has exactly 69 lines. There is not a line 70. If I add a junk
> line and try again the error reports on line 71 when there are only 70
> lines. If I shorten the script by two or three lines the same error occurs,
> just at the last line plus one.
>
> Platform = Win 98 SE, Server = Apache 1.3x, PHP = 4.2x, Browser = Mozilla,
> MSIE 5.5, Netscape, and Opera. I'm using CONTEXT as the editor (Great
> Tool!) with the line numbering turned on, so I'm sure about the line count.
>
> Anybody every see anything like this?
>
> God bless us everyone.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Leon Jansen van Nieuwenhuizen
Personal Computing Services
Information & Communication Technology Services
University of Cape Town
Email: ljansen@its.uct.ac.za
__________________________
__________________________