A Database Error Occurred

Error Number: 1054

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

select * from adv where id=index.html

Filename: /home/training/public_html/models/adv_db.php

Line Number: 40