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 1

Purtroppo uso le query di Dreamweaver:

$query_listato = sprintf("SELECT * FROM articoli ORDER BY DATE_FORMAT(data,'%Y') desc, click desc", $colname_listato,$reg_listato);
$query_limit_listato = sprintf("%s LIMIT %d, %d", $query_listato, $startRow_listato, $maxRows_listato);
$listato = mysql_query($query_limit_listato, $dbconn) or die(mysql_error());


Dov'è per lui l'errore?

Grazie