Help - Search - Members - Calendar
Full Version: Unexpected $end
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
Colin
Parse error: syntax error, unexpected $end in /home/colinsmi/public_html/glitchesexposed/admin/login.php on line 94
Uhh ohh...how do I fix? heres code:
http://pastebin.com/f15e8c083
Ed
Line 66:
CODE
    if (isset($_POST['submitBtn'])){


You've not closed the brace.

It might be easier to use

CODE
<?php if($foo): ?>
<b>do some html</b>
<?php endif; ?>


For embedding php its a lot cleaner, your choice though.
Colin
Thanks smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.