Can't execute querySELECT id,title FROM news_eng WHERE (available='1' or (available='0' and sdate <= '2024-12-22' AND edate >= '2024-12-22')) ORDER BY sdate DESC LIMIT -1, 1
MySQL Error: 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 '-1, 1' at line 1 This script cannot continue, terminating. |