Chyba v SQL dotazu: SELECT * FROM autos_modely WHERE ukaz=1 and typ= and idz<> order by typ asc, poradi asc 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 idz<> order by typ asc, poradi asc' at line 1