Š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 'to-zacina-–-preventivni-akce-nejen-o-chovani-na-silnicich) or exists(select * ' 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(nehodou-to-zacina-–-preventivni-akce-nejen-o-chovani-na-silnicich) or exists(select * from prispevek_kategorie pk where pk.id_prispevek = prispevek.id and pk.id_kategorie in (nehodou-to-zacina-–-preventivni-akce-nejen-o-chovani-na-silnicich))) order by datum DESC ,id DESC