SQL: SELECT * FROM kq000498_via.items WHERE tipo = 50 AND item = ORDER BY prioridad DESC
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 'ORDER BY prioridad DESC' at line 1