President Obama Posted January 14, 2011 Share Posted January 14, 2011 In wamp the code shows including the php which is weird, when on a server spews this error: Parse error: syntax error, unexpected $end in /homepages/11/d274847833/htdocs/clans/trichome/index.php on line 66 I'm truly lost on it. Any help is appreciated help. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Home</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <?php include_once("analyticstracking.php") ?> <div id="left_graffiti"><img src="images/left_graffiti.png" /></div> <div id="right_graffiti"><img src="images/right_graffiti.png" /></div> <div id="container"> <div id="menu"> <ul> <li id="m01"><a href="http://www.trichome.ee-clans.com/"><img src="images/home-icon.png"/>Home</a></li> <li id="m02"><a href="http://www.trichome.ee-clans.com/members.php"><img src="images/user_group.png"/>Members</a></li> <li id="m03"><a href="http://www.trichome.ee-clans.com/shoutbox.php"><img src="images/megaphone.png"/>Shoutbox</a></li> <li id="m06"><a href="http://www.trichome.ee-clans.com/lounge.php"><img src="images/lounge.png" />Lounge</a></li> <li id="m04"><a href="http://www.trichome.ee-clans.com/tricruits.php"><img src="images/ticon.png" height="48" width="48"/>Tricruits</a></li> <li id="m05"><a href="http://www.trichome.ee-clans.com/aboutus.php"><img src="images/Info.png" height="40" width="40" />About us</a></li> </ul> </div> <div class="clear"></div> <div id="content"> <div id="logo"> <img src="images/logo.gif" /> </div> <div id="saying"> <h3>We love to Blaze and BooM!</h3> </div> <div id="welcome"> <h2>Welcome to Euphoria</h2> <p>Global worldwide blazers have gathered on the battlefields of Empire Earth in order to celebrate this great game.</p> <p>Countries may be divided with borders, politic's and War but we are United here for the purpose of Worldwide dominance in the inhaling of the finest Trichomes, and saving Empire Earth. </p> </div> <img src="images/globe.gif" /> <div id="news"> <h2>News & Annoucements</h2> <?php //connect section, you don't need to see that . $result = mysql_query("SELECT * FROM main ORDER BY id desc") or die(mysql_error()); $count=0; $cond=0; while($row = mysql_fetch_array($result)){ echo "<p><strong>" . $row['date'] . "</p></strong>"; echo "<p>" . $row['name'] . "</p>"; if($cond==0){ echo "<div class=\"break\"></div>"; $cond++; } else { echo "<div class=\"break2\"></div>"; $cond--; } } ?> </div> <img src="images/dragon.gif" /> <div id="video"> <h2>Video</h2> <?php $result2 = mysql_query("SELECT * FROM video ORDER BY id desc"); echo $result2; ?> </div> </div> <div class="clear"></div> <div id="footer"> <p>Copyright © Trichome Clan all rights reserved.</p> </div> </div> </body> </html> Quote Link to comment Share on other sites More sharing options...
trq Posted January 14, 2011 Share Posted January 14, 2011 PHP is obviously not configured properly. Quote Link to comment Share on other sites More sharing options...
President Obama Posted January 14, 2011 Author Share Posted January 14, 2011 I don't understand. All my other PHP pages work fine, its only the index thats stuffing up. Though I do agree with you thats it the php. I just rebuilt the page bit by bit and the php just won't work at all. I'm really mind blown as to whats going on. Quote Link to comment Share on other sites More sharing options...
President Obama Posted January 14, 2011 Author Share Posted January 14, 2011 Dun worry it magically fixed itself when I uploaded it to the server again. Quote Link to comment 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.