A Database Error Occurred

Error Number: 1054

Unknown column 'optionallink.html' in 'where clause'

SELECT padm_id,ref_product_id,ref_attribute_detail_id,attribute_item_name,attribute_name,ref_attribute_id FROM mst_product_attribute_detail_mapping ampa LEFT JOIN mst_attribute_detail ad ON ad.attribute_detail_id = ampa.ref_attribute_detail_id LEFT JOIN mst_attribute attr ON attr.attribute_id = ad.ref_attribute_id WHERE ref_product_id = optionallink.html AND padm_active = 1

Filename: models/adminModel/Admin_model.php

Line Number: 3072