fleamarketyourway

CATEGORIES
 
WORLDWIDE COLLECTIONS
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 products_canopy_gallery != 2 and c.canopy_id=4' at line 5
in:
[select p.* , pd.* , pdc.* from products p,products_description pd,products_to_categories pdc where p.products_status = 1 and p.products_id = pd.products_id and p.products_id = pdc.products_id and p.products_canopy_gallery = 2 and pd.canopy_id = 4 group by pd.products_id UNION select p.* ,pd.* ,pdc.* from products p,products_description pd,products_to_categories pdc,canopy c where p.products_status = 1 and p.products_id = pd.products_id and p.products_id = pdc.products_id and p.seller_id = and products_canopy_gallery != 2 and c.canopy_id=4]