A Database Error Occurred

Error Number: 1054

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

select p.*, i.image_url, u.nick_name from product p join product_image i on p.product_id=i.product_id and i.is_primary=1 join user u on p.user_id=u.user_id where p.product_id=index.html

Filename: models/Product_model.php

Line Number: 33