Software error:

sqlerror: 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 LCASE(building_name)='landmark place'' at line 1 at /data/wwwroot/live/a_city_abode/cgi/cims/search_properties.pl line 142.

For help, please send mail to the webmaster (sean.hayes@webscript.co.uk), giving this error message and the time and date of the error.