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_desc.lang=1' at line 14
Zapytanie: SELECT
cat_desc.name,
cat.id,
cat.parent_id
FROM
cat_desc,
cat,
cat_product,
product
WHERE
cat_desc.id_cat=cat.id AND
cat.id=cat_product.id_cat AND
cat_product.id_product=product.id AND
product.id= AND
cat_desc.lang=1