A Database Error Occurred

Error Number: 1064

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 '-10, 10' at line 6

SELECT `a`.`aid`, `a`.`fid`, `a`.`title`, `r`.`content`, `a`.`picurl` FROM (`cn_article` as a) JOIN `cn_reply` as r ON `r`.`aid` = `a`.`aid` WHERE `a`.`fname` = '新闻动态' ORDER BY `a`.`posttime` desc LIMIT -10, 10

Filename: /var/www/html/cwpf2017/models/article_model.php

Line Number: 68