User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 402,890 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,093 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2006 | Replies: 2
Reply
Join Date: Mar 2007
Location: georgia
Posts: 55
Reputation: hunkychop is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 4
hunkychop's Avatar
hunkychop hunkychop is offline Offline
Junior Poster in Training

Help Parse error: parse error, unexpected $end

  #1  
Mar 28th, 2007
ive never had this error before, could any one help me sort this out?

here is the effected section of my script.
thanks for any help

[php] </span></p>
<p>&nbsp;</p>
</blockquote></td>
</tr>
</table>
</body>
</html>
<?php
//script end
?>[/php]
ive also tryed...

[html] </span></p>
<p>&nbsp;</p>
</blockquote></td>
</tr>
</table>
</body>
</html>[/html]
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2007
Posts: 17
Reputation: justinm is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
justinm justinm is offline Offline
Newbie Poster

Re: Parse error: parse error, unexpected $end

  #2  
Mar 28th, 2007
Either the error code and line with more detailed code, or the code from the page itself.

But, if you opened up a {, you must close it with another }, try putting that inbetween the
<?php & ?>
tags...
Reply With Quote  
Join Date: Sep 2006
Location: Canada
Posts: 55
Reputation: GliderPilot is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
GliderPilot's Avatar
GliderPilot GliderPilot is offline Offline
Junior Poster in Training

Re: Parse error: parse error, unexpected $end

  #3  
Mar 28th, 2007
Without the actual PHP code it is hard to pinpoint the exact problem but as mentioned above it is probably a missed closing bracket.

What the error simply means is that the code processor reached the end of the code and was expecting more code. This usualy happends when you forget to close an if or loop or something of that nature.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 2:48 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC