diff options
author | raylu <raylu@mixpanel.com> | 2012-07-18 01:45:55 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2012-07-18 01:45:55 -0700 |
commit | 79d928cd42c32122edd47d1a450fb0c4ced3de2f (patch) | |
tree | 9989a6fc699476a01b7721a13a330f9e214fe0de /includes/datas.php | |
parent | 9f7a77eb549d1cfe93b406a0c29862db8664de76 (diff) | |
download | pathery-79d928cd42c32122edd47d1a450fb0c4ced3de2f.tar.xz |
fix lots of warnings, whitespace
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>"; |