SQL hiba :
select * from gallery_contents where gallery_id='4' order by pic_order asc limit 12 offset -12

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 '-12' at line 1