On 2017-09-22 at 22:31:52, an sql error occured. When asked the trouble, the database said:

"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 1"

The error was thrown from in the function and the offending sql statement is below:


select * from tbl_news where 1 order by fld_date desc limit -10, 10
News and Updates - MyFutureJob