select termek.id, termek.nameen as name, termek.ar, slugen as slug,kep,alapkategoria,akcios, ujdonsag from termek where ar>0 ORDER BY `name` asc limit -20,10 Array ( [0] => 42000 [1] => 1064 [2] => 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 '-20,10' at line 1 )