1064 - 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 pe.products_id = p.products_id AND ' at line 7

SELECT p.products_id, pd.products_name,pe.products_packaging_id,products_packaging FROM products_description pd, products p, products_extra pe, configarrays ca WHERE p.products_id <> and pe.products_id = p.products_id AND pd.products_id = p.products_id AND ca.groupid=60 AND ca.languageid = '2' AND ca.id = pe.products_packaging_id AND p.products_status >0 AND substring_index( pd.products_name, ',',1)= substring_index( '', ',',1) AND pd.language_id =

[TEP STOP]