Help for Minequery
Posted: Fri Dec 09, 2011 4:02 pm
<?php include ('core/init.inc.php'); $info = fetch_server_info($config['server']['ip'], $config['server']['port']); ?> <!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>Untitled Document</title> </head> <style type="text/css"> <!-- .red { color: #F00; font-weight: bold; font-style: italic; } .large { font-size: 24px; color: #FFF; font-family: Arial, Helvetica, sans-serif; } .largegr { font-size: 24px; color: #0F0; font-weight: bold; } .largered { font-size: 24px; color: #F00; font-weight: bold; font-family: Verdana, Geneva, sans-serif; } body p { color: #FFF; } body p { font-family: "MS Serif", "New York", serif; } body p { font-family: "Avant Garde Bk BT"; } body p { font-family: Verdana, Geneva, sans-serif; } --> </style><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></head> <body background="images/terrain.png"> <div> <h1><img src="images/serverinfo.png" width="400" height="100"></h1> <?php if ($info === false){ ?> <p> <span class="large"><strong>Status:</strong></span><span class="largered"> Offline</span></p> <?php }else{ ?> <p> <span class="large"><strong>Status:</strong></span><span class="largegr"> Online </span></p> <p> <strong>Slots:</strong> <?php echo $info['playerCount'];?> / <?php echo $info['maxPlayers'];?> </p> <p> <strong>Players:</strong> <?php echo implode(', ', $info['playerList']);?> </p> </div> </body> </html>So, thats my PHP, and my error turns up as follows:
Parse error: syntax error, unexpected $end in /homepages/40/d250339289/htdocs/harryweb/info/index.php on line 72