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 `taff_agenzia_code` = 13 ORDER BY `taff_inizio_dta`' at line 3
SELECT * FROM `tbl_affitti` WHERE `taff_immobile_code` = and `taff_agenzia_code` = 13 ORDER BY `taff_inizio_dta`
Filename: models/Index_model.php
Line Number: 376