Ошибки:

Database Error

A Database Error Occurred

Error Number: 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 6

Select *, u.id_proroduct_unit as id, p.title as product, c.mark as cur, su.title as unit, s.title as parent From supplier_products p join supplier_product_unit u on p.id_supplier_product = u.id_supplier_product left join supplier_units as su on su.id_unit = u.id_unit left join supplier_units s on s.id_unit = u.id_parent left join supplier_currency c on c.id_currency = u.id_currency left join users on p.id_user = users.id_user Where p.status="active" and p.id_product =