Špatný dotaz: Unknown column 'krasne' in 'where clause'
SELECT id,nazev,poradi,text,zkracene,url,id_kategorie,kod,datum,datum_zobrazovat FROM prispevek WHERE zobrazovat="A" AND (id_kategorie in(krasne-prazdniny-plne-slunicka-a-peknych-zazitku) or exists(select * from prispevek_kategorie pk where pk.id_prispevek = prispevek.id and pk.id_kategorie in (krasne-prazdniny-plne-slunicka-a-peknych-zazitku))) order by datum DESC ,id DESC