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 '' at line 1
select distinct manufacturers.manufacturers_name, manufacturers.manufacturers_id, manufacturers.manufacturers_image from manufacturers, products, products_to_categories where manufacturers.manufacturers_id = products.manufacturers_id and products.products_id = products_to_categories.products_id and products_to_categories.categories_id =