Unable to execute query SELECT post_id,title, frontpage, cat, newspreview, DATE_FORMAT(post_date, '%W, %M %e, %Y @ %h:%i%p') AS date_post FROM newsposts WHERE frontpage = 'y' ORDER BY post_id DESC LIMIT -10,10. MySQL error code: 1064 MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-10,10' at line 1 |