Błąd: 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 cat.id=cat_desc.id_cat AND cat_desc.lang=lang.id AND lang.id=1' at line 1 Zapytanie: SELECT cat_desc.name AS cat_name FROM cat,cat_desc,lang WHERE cat.id= AND cat.id=cat_desc.id_cat AND cat_desc.lang=lang.id AND lang.id=1