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 '-6,6' at line 1syntax error: select id,ten as ten,tenkhongdau,thumb,photo,masp,gia,giakm,type,khoihanhtu,thoigian,ngaykhoihanh,lichtrinhtour,giatour,lichkhoihanh,phuongtien,khachsan from table_product where hienthi=1 and tieubieu=1 order by stt,id desc limit -6,6