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 4

select board_idx, board_id, name, email, title, contents, is_notice, main_file1, main_file2, viewcnt, date_format(regdate, '%Y-%m-%d') as regdate, date_format(regdate, '%Y-%m-%d %H:%i') as regdatetime, etc1, etc2, etc3, etc4, user_id, tel from board b where board_id = 'review' order by board_idx desc limit -10, 10

Filename: /home/hosting_users/summerfesta/www/models/board_model.php

Line Number: 46