inicio  /  e-shop
PRIMAVERA Verano 2017
Error en: SELECT col.nombrepaginaES AS np_coleccion, prendas.nombrepaginaES AS np_prenda, prendas.prendaES AS prenda, prod.* FROM ((productos as prod INNER JOIN colecciones as col ON col.id=prod.idColeccion) INNER JOIN prendas ON prendas.id=prod.idPrenda) WHERE EXISTS (SELECT id FROM combinaciones as comb WHERE comb.idProducto=prod.id) AND EXISTS (SELECT * FROM categorias_producto as cp WHERE prod.id=cp.idProducto) AND prod.idColeccion= AND prod.activo=1 ORDER BY prioridad. 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 prod.activo=1 ORDER BY prioridad' at line 1