Error al ejecutar la consulta:
select SQL_CALC_FOUND_ROWS * from GDP_articulos WHERE desactivada_subfamilia=0 and desactivada_familia=0 and desactivo=0 and pvp>0 and id_subfamilia= order by visto DESC LIMIT 0,12 Error:-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 visto DESC LIMIT 0,12' at line 1