MySQL Query : select * from jp_news where status=99 and id < order by id desc LIMIT 5 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 'order by id desc LIMIT 5' at line 1 MySQL Errno : 1064 Message : 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 5' at line 1 Need Help?