SELECT DISTINCT REPLACE(product_desc.name, '"', '') as orderName, product_desc.name AS name, product.id AS id, product_desc.m_text AS text, product.sort AS sort, product_desc.seo FROM product,lang,product_desc WHERE product.status != 0 AND product.id=product_desc.id_product AND product_desc.lang=lang.id AND lang.id=1 AND product.status=1 ORDER BY product_desc.seo ASC LIMIT 0,8
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