AVUI, A NACIÓ
MÉS NOTÍCIES DEL DIA
select *, titulo as titulo,
if (firma_como_ai>0, (select nombre from cms_blogs where id_blog=firma_como_ai limit 1), autor ) as autor,
if (firma_como_ai_2>0, (select nombre from cms_blogs where id_blog=firma_como_ai_2 limit 1) , autor_2 ) as autor_2,
if (firma_como_ai_3>0, (select nombre from cms_blogs where id_blog=firma_como_ai_3 limit 1) , autor_3 ) as autor_3,
friendly_url, friendly_url_categoria, (select nombre from cms_portadas_edicionv2 where id_portada_edicion = cms_articulos.id_categoria) as edicion from cms_articulos where supervisado=1 and (visible_en_periodico in ('', '') or (supervisado=1 and visible_en_periodico in ('P', ''))) and id_articulo not in(10096883,10097065,10097099,10096992,10097041,10095588,10097012,10097197,10095442,10097128,10096740,10097131,10097169,10096593,10096902,10097046,10096977,10096898,10097124,10097186,10096882,10097171,10097007,10096082,10096949,10096800,10096610,10096667,10096709,10096723,10096432,10097166) and id_periodico = and (find_in_set('imperdibles', tags)) order by fecha desc LIMIT 4 - 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 (find_in_set('imperdibles', tags)) order by fecha desc LIMIT 4' at line 5
