Parse error at the end of document

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
User avatar
swirlee
Moderator
Moderator
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Post by swirlee » Fri Jul 18, 2003 10:03 pm

This ought to be in the HTML forum, since it's not a PHP question. First off, what validator are you using, and what're you trying to validate it as? (Transitional? Strict?) What the error means is that you don't have a <html> tag at the top of your document, or you have more than one </html> tag in the document. But, since you've only given us the very bottom of your document, I can't tell if this is the case. It looks like you're using Dreamweaver to edit, though, which ought to keep your tags sorted out pretty well, but a word to the wise: If you build your pages in Dreamweaver, don't bet on them validating. At all. I believe that Dreamweaver MX is better at this, but I don't know how much better. The bottom line is that the HTML that Dreamweaver outputs is pretty ugly, and if you manage to get HTML that validates, you can consider yourself very, very lucky.

pootergeist
New php-forum User
New php-forum User
Posts: 191
Joined: Wed Jan 29, 2003 7:11 am
Location: UK
Contact:

Post by pootergeist » Sat Jul 19, 2003 1:42 am

if the parse error is returned through the php interpreter, it means you have a missing } closing brace somewhere within the php code.

User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: Parse error at the end of document

Post by WiZARD » Sat Jul 19, 2003 2:22 am

Hi Lola!
as i understand, you work with DreamWeaver and PHP.....
can you give a link at code file (.ZIP)?

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests