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 'index-2.html and dp.i' at line 3

select d.*,dp.title,dp.description,dp.shortDescription from dly_package as d inner join dly_package_content as dp on d.id = dp.id_package where d.id=index-2.html and dp.id_lang = 1

Filename: models/TurusModel.php

Line Number: 37