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 'AND options_to_products.status=1 AND options.id=options_to_products.' at line 12
SELECT options_to_products.options_id, options_to_products.products_id, options.id, options.name, options.image_name FROM options_to_products, options WHERE options_to_products.products_id= AND options_to_products.status=1 AND options.id=options_to_products.options_id