Galicia » Xunta de Galicia

 
A- A+


Error en consulta de datos...SELECT i.idImagen, i.imagen, i.pie, i.firmaImagen, orden FROM imagenes i INNER JOIN uNoticiasImagenes AS ni ON i.idImagen = ni.idImagen WHERE ni.idNoticia = AND (ni.portada = 6 OR ni.portada = 8) ORDER BY ni.orden

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND (ni.portada = 6 OR ni.portada = 8) ORDER BY ni.orden' at line 4