Špatný dotaz: 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-spa-2018-uspech-na-soutezi-ar-junior-ve-spendleni-na-zivy-model) or exists(s' at line 1
SELECT id,nazev,poradi,text,zkracene,url,id_kategorie,kod,datum,datum_zobrazovat FROM prispevek WHERE zobrazovat="A" AND (id_kategorie in(world-of-beauty-and-spa-2018-uspech-na-soutezi-ar-junior-ve-spendleni-na-zivy-model) or exists(select * from prispevek_kategorie pk where pk.id_prispevek = prispevek.id and pk.id_kategorie in (world-of-beauty-and-spa-2018-uspech-na-soutezi-ar-junior-ve-spendleni-na-zivy-model))) order by datum DESC ,id DESC