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 'AND trash = 0 AND active = 1 ORDER BY data_ins DESC' at line 1
Sql di partenza : SELECT * FROM artisti WHERE catID = AND trash = 0 AND active = 1 ORDER BY data_ins DESC