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 l1.kod = 'loc_nazev_cs'
AND l1.menu_id = 203 AND l2.kod = 'loc_popis' at line 4
SELECT k.*, l1.hodnota as nazev, l2.hodnota as popis FROM ps1_kategorie k
LEFT JOIN ps1_lokalizace l1 ON l1.item_id = k.kategorie_id
LEFT JOIN ps1_lokalizace l2 ON l2.item_id = k.kategorie_id
WHERE k.kategorie_id = AND l1.kod = 'loc_nazev_cs'
AND l1.menu_id = 203 AND l2.kod = 'loc_popis_cs'
AND l2.menu_id = 203 AND (k.status_id = 3101 OR k.status_id = 3104) ORDER BY k.poradi
svět očima hudby
Inovovaný model - nově navíc...
7.793,- Kč
Tel./Fax: +420 272 272 500 E-mail: eshop@soh.cz