Error al ejecutar consulta.
SELECT * FROM imagenes WHERE active="y" AND museo IS NOT NULL AND artista = ORDER BY nombre ASC
NULL
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 nombre ASC' at line 5