MYSQLDotaz:SELECT prihlasky_katalog.id, prihlasky_katalog.name, kod, DATE_FORMAT(datum_od, '%d.%m.') AS datum_od_upr, IF (datum_od != datum_do, DATE_FORMAT(datum_do, '%d.%m.%Y'), '') AS datum_do_upr, (TO_DAYS(datum_do) - TO_DAYS(datum_od) + 1) AS pocet_dnu, misto, stav, prihlasky_c_stav.name AS stav_txt, viditelne, prihlasky_c_typ_akce.name AS typ_akce_txt, odkaz_web, aktual, zkratky, IF (f4.name != '', f4.name, zkratky) AS trener_name, f4.url AS trener_url, f5.name AS priloha_txt, f5.file AS priloha_file FROM prihlasky_katalog LEFT JOIN prihlasky_c_stav ON (prihlasky_katalog.stav = prihlasky_c_stav.id) LEFT JOIN prihlasky_c_typ_akce ON (prihlasky_katalog.typ_akce = prihlasky_c_typ_akce.id) LEFT JOIN prihlasky_c_treneri f4 ON (f4.id = prihlasky_katalog.trener_id) LEFT JOIN prihlasky_c_prilohy f5 ON (f5.id = prihlasky_katalog.priloha) WHERE viditelne = '1' AND datum_do >= current_date AND skupina= ORDER BY datum_od, datum_do Chyba: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 'ORDER BY datum_od, datum_do' at line 29
TCPDF ERROR: Some data has already been output to browser, can't send PDF file