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 '' at line 1SELECT id FROM categories WHERE id =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 company_supplier_category.company_category = AND company.status = 1' at line 10SELECT company.co_logo, company.company_sh_name, company.company_name, company.company_country, company.company_address, company.id, company.rank,company.country_part FROM company_supplier_category, company, company_category WHERE company_supplier_category.supplier_category IN (1061) AND company.country_part =3 AND company_category.company_id = company.id AND company_supplier_category.company = company.id AND company_category.company_categories = AND company_supplier_category.company_category = AND company.status = 1 AND company_category.status = 1 GROUP BY company.id ORDER BY company.rank ASC,company.company_name ASC LIMIT 0,10 Leather Product Suppliers in Europe - Business Portals .com