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 '' at line 3

SELECT * FROM (`bl_agents`) WHERE 1 AND status=1 AND id=

Filename: /var/www/bluefenc/public_html/custom/lakevillahomesforsale/models/agents_model.php

Line Number: 23