SELECT `news_id`, `news_title`, `news_name`, `news_prevtext`, `news_dir`, `news_date`, `news_update`, `news_status`, `news_author`, `news_author_name`, `news_category`, `news_recommend` FROM `prnd_news` WHERE `news_status` = '1' AND `news_date` <= '1545185744' ORDER BY `news_date` DESC, `news_id` DESC LIMIT -12,12
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 '-12,12' at line 1