You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0,15' at line 1You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0,15' at line 1
function dbquery($query) {
$result = @mysql_query($query);
if (!$result) {
[color=blue]echo "#$query<br/>";[/color]
echo mysql_error();
return false;
} else {
return $result;
}
}
#SELECT * FROM fusion_downloads WHERE download_cat='2' ORDER BY LIMIT 0,1000
SELECT * FROM fusion_downloads WHERE download_cat='2' ORDER BY [color=blue]download_datestamp DESC[/color] LIMIT 0,1000
Category Forum
Bugs and Errors - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions