MYSQLDotaz:SELECT,, 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, AS stav_txt, viditelne, AS typ_akce_txt, odkaz_web, aktual, zkratky, IF ( != '',, zkratky) AS trener_name, f4.url AS trener_url, AS priloha_txt, f5.file AS priloha_file FROM prihlasky_katalog LEFT JOIN prihlasky_c_stav ON (prihlasky_katalog.stav = LEFT JOIN prihlasky_c_typ_akce ON (prihlasky_katalog.typ_akce = LEFT JOIN prihlasky_c_treneri f4 ON ( = prihlasky_katalog.trener_id) LEFT JOIN prihlasky_c_prilohy f5 ON ( = 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 MariaDB server version for the right syntax to use near 'ORDER BY datum_od, datum_do' at line 29

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /data/www/21925/herolky_eu/prihlasky/funkce2.php on line 78
TCPDF ERROR: Some data has already been output, can't send PDF file