Hi Score header
[Leaderboard] [Return to game]
1 "; // Add ordering (hiscore, date) $SelectLeaderBoardSQL.=" ORDER BY HSScore DESC, HSDateTime"; // check for ALL parameter passed //if (!$all) { $SelectLeaderBoardSQL.=" LIMIT $noscores"; //} // perform initial query $result=mysql_query($SelectLeaderBoardSQL); // test for results returned if ($myrow = mysql_fetch_array($result)) { // loop through results do { // open new row, then display HSName, HSScore and HSDateTime in columns echo ""; // display extra field if ALL was passed if ($all) { echo ""; } echo ""; // fetch next row } while ($myrow=mysql_fetch_array($result)); } ?>
NAME SCORE DATE / TIME
     
",$myrow["HSName"],"",$myrow["HSScore"],"",$myrow["HSDateTime"],"",$myrow["HSIPAddress"],"