Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   PHP (http://www.programmingforums.org/forum29.html)
-   -   Parse Error >.< (http://www.programmingforums.org/showthread.php?t=12328)

Harrison Jan 8th, 2007 3:17 PM

Parse Error >.<
 
im not right sure where to put this as the code that contains a parse error is HTML,

on my site, it comes up with:

Parse error: parse error in /data/members/free/tripod/nl/n/m/1/nm10/htdocs/_status.php on line 199

the code in line 199 is:
:

<table cellspacing="5" cellpadding="2" width="80" align="center" border="0">

Jimbo Jan 8th, 2007 3:46 PM

what's the code around that line? Parse errors can be caused at one point and noticed by the parser a few lines down...

Harrison Jan 8th, 2007 3:54 PM

Quote:

Originally Posted by Jimbo (Post 122327)
what's the code around that line? Parse errors can be caused at one point and noticed by the parser a few lines down...

ive found the error and fixed it now, but its not looking good, the error was the ENDHTML;

the parse error was the ; at the end of ENDHTML

DaWei Jan 8th, 2007 6:00 PM

You showed no code that had "ENDHTML;". If you had HTML in a .php file, then it should have been outside php tags, or in a echo statement or heredoc area or similar. The parse error would be associated with PHP, not with the HTML, itself. It's very important for good responses that you give enough of a snippet for your code to be properly judged, and it's nice, further, if you explain the error, for the benefit of others, even if you locate it, yourself.


All times are GMT -5. The time now is 1:40 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC