Query 'select r.comments, r.review_id, r.rating_OS, r.rating_CS, r.rating_BQ, o.firstname, o.lastname, DATE(o.date_added) as date_added , oo.value as grade, uf.filename
from review r , order_product op, rocketba_rocket.order o, order_option oo, upload_file uf, order_product_file opf
where
r.order_product_id = op.order_product_id and
op.order_id = o.order_id and
op.order_product_id = oo.order_product_id and
op.order_product_id = opf.order_product_id and
opf.file_id = uf.file_id and
op.product_id = and r.status ='1'
order by r.review_id ' failed with error message: "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 r.status ='1'
order by r.review_id' at line 9"