Érvénytelen lekérdezés: SELECT DISTINCT st_markak.title, st_termekek.marka_id, st_termekek.kategoria_id, st_termekek.lathato FROM st_termekek LEFT JOIN st_markak ON st_markak.id = st_termekek.marka_id WHERE st_termekek.kategoria_id = AND alkategoria_id =''AND st_termekek.lathato = 'true' ORDER BY st_markak.titleYou 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 alkategoria_id =''AND st_termekek.lathato = 'true' ORDER BY st_markak.title' at line 1