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 '-100,100' at line 1syntax error: select id,ten as ten,tenkhongdau,mota as mota,photo,profile,link,ngaytao from table_news where type='tin-tuc' and hienthi=1 order by stt asc limit -100,100