Parse line No

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
after_shox
Forum Newbie
Posts: 13
Joined: Wed Mar 10, 2004 11:53 am

Parse line No

Post by after_shox »

Im getting a parse error on a line that has nothing on it ? I didnt think this was possible. But if theres nothing on the line how can i fix it ?
User avatar
Buddha443556
Forum Regular
Posts: 873
Joined: Fri Mar 19, 2004 1:51 pm

Post by Buddha443556 »

When you have an error like this is usually a missing quotation mark or maybe you forgot to escape a quotation mark.

If you can't find it by a line by line review, heres two techniques you can try:

1. Comment out blocks of code to isolate the problem. Error disappears you found the block responsible.
2. Insert test pionts, simple echo 'TestPoint X', in the code to isolate the problem. Missing test points will be in the errors location usually.

Good luck
Post Reply