Error: select *,DATE_FORMAT(posted_date, '%d %M %Y %H:%i') as postdate from tbl_destination where 1=1 and status=1 and theme_type= order by id desc limit 80, 10

    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 'order by id desc limit 80, 10' at line 1