From 79d928cd42c32122edd47d1a450fb0c4ced3de2f Mon Sep 17 00:00:00 2001 From: raylu Date: Wed, 18 Jul 2012 01:45:55 -0700 Subject: fix lots of warnings, whitespace --- includes/datas.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/datas.php') 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 .= ""; + $output = "
"; $output .= ""; $output .= ""; $output .= ""; -- cgit v1.2.3
RankBadge