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 'AND cen.cenaWeb='299' ( h.nazev_CZ LIKE '%8595165334265%' or h.nazev_EN LIKE...' at line 4 Error no:1064