Error in query select pb.id,pb.brochure,pb.title,Date_Format(date_modified,'%d-%m-%Y') as brochure_date from download_product_brochures dpb inner join products_brochure pb on dpb.product_brochure_id=pb.id where dpb.category_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 '' at line 1