errore query
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, 20' at line 1 SELECT * FROM autoveicoli WHERE visible='Si' AND img <> 'nessuna' AND idcategoria LIKE '%50%' LIMIT -20, 20