Je nám líto, ale zobrazování článku bylo omezeno
MYSQLDotaz:SELECT
SQL_CALC_FOUND_ROWS f1.id,
f1.*,
DATE_FORMAT(date_publ, '%d.%m.%Y') AS datum_upr,
IF (date_end > 0, DATE_FORMAT(date_end, '%d.%m.%Y'), '') AS end_upr,
IF(name_h1 != '', name_h1, name)AS name_h1,
IF(name_h1 != '', UCASE(name_h1), UCASE(name))AS name_h1UC
FROM
clanky f1
WHERE
AND viditelne='1' AND id != '870'
ORDER BY date_publ DESC, id DESC
LIMIT 0 , 10
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 'AND viditelne='1' AND id != '870'
ORDER BY date_publ DESC, id D' at line 11