Lamez Posted December 12, 2007 Share Posted December 12, 2007 I am getting this error in my side.php or my navigation with view active page. anyways I am getting this error: Parse error: syntax error, unexpected $end in /mounted-storage/home48c/sub007/sc33591-LWQU/www/style/include/cons/side.php on line 47 line 47 is my last line, I cannot find any missing } or { anywhere here is my code, any help would be great: <?php include "style/include/session.php"; ?> <div class="navc"> <div class="headb">Viewing Site</div> <p> <?php /** * Just a little page footer, tells how many registered members * there are, how many users currently logged in and viewing site, * and how many guests viewing site. Active users are displayed, * with link to their user information. */ include "style/include/cons/online.php"; echo "<br />Registered Members: $database->num_active_users <br />"; echo "Guests: $database->num_active_guests<br /><br />"; //include("style/include/view_active.php"); ?> </p> <div class="headb">Navigation</div> <?php if($session->logged_in){ print <<<LOG <a href="index.php"><img src="style/img/home.png" hspace="3" vspace="3" border="0" align="absmiddle" /> Home</a> <a href=user/members.php><img src=style/img/user.png hspace=3 vspace=3 border=0 align=absmiddle /> Members*</a> <a href="style/include/process.php"><img src="style/img/login.png" hspace="3" vspace="3" border="0" align="absmiddle" /> Logout</a> <a href="info/info.php"><img src="style/img/info.png" hspace="3" vspace="3" border="0" align="absmiddle" /> Info</a> <div class="headb">Quick Links</div> <a href="user/forgotpass.php">Forgot Password</a></div> print LOG; } else { print <<<LOGI <a href="index.php"><img src="style/img/home.png" hspace="3" vspace="3" border="0" align="absmiddle" /> Home</a> <a href="user/members.php"><img src="style/img/user.png" hspace="3" vspace="3" border="0" align="absmiddle" /> Members</a> <a href="login.php"><img src="style/img/login.png" hspace="3" vspace="3" border="0" align="absmiddle" /> Login</a> <a href="register.php"><img src="style/img/reg.png" hspace="3" vspace="3" border="0" align="absmiddle" /> Register</a> <a href="info/info.php"><img src="style/img/info.png" hspace="3" vspace="3" border="0" align="absmiddle" /> Info</a> <div class="headb">Quick Links</div> <a href="user/forgotpass.php">Forgot Password</a></div> LOGI; } ?> Quote Link to comment https://forums.phpfreaks.com/topic/81308-solved-end-i-know-what-it-means/ Share on other sites More sharing options...
dsaba Posted December 12, 2007 Share Posted December 12, 2007 <a href="user/forgotpass.php">Forgot Password</a></div> print LOG; } change to: <a href="user/forgotpass.php">Forgot Password</a></div> LOG; } Quote Link to comment https://forums.phpfreaks.com/topic/81308-solved-end-i-know-what-it-means/#findComment-412675 Share on other sites More sharing options...
Lamez Posted December 12, 2007 Author Share Posted December 12, 2007 lol sorry, I should have caught that. thanks for the help. I guess I had my brain fart for the night. Quote Link to comment https://forums.phpfreaks.com/topic/81308-solved-end-i-know-what-it-means/#findComment-412677 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.