diff options
Diffstat (limited to 'includes/datas.php')
-rw-r--r-- | includes/datas.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/datas.php b/includes/datas.php index 5d901ee..c445ca1 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -26,9 +26,9 @@ function topScores($mapid, $top = 5, $bottom = 0) { ORDER BY solutions.moves DESC, solutions.dateModified ASC LIMIT $bottom, $top "; - $result = mysql_query($sql); + $result = mysql_query($sql) or die(mysql_error()); $utime = date("g:i A (T)"); - $output .= "<table class='score'>"; + $output = "<table class='score'>"; $output .= "<tr title='Updated $utime'>"; $output .= "<th>Rank</th>"; $output .= "<th>Badge</th>"; |