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 '<0.05 && lat->-0.05) AND (lon-<0.05 && lon->-0.05))) UNION SELECT id ' at line 3
SELECT id FROM accommodation WHERE approved = 1 AND (town LIKE 'Greystoke' OR village LIKE 'Greystoke' OR ((lat-<0.05 && lat->-0.05) AND (lon-<0.05 && lon->-0.05))) UNION SELECT id FROM cottages WHERE approved = 1 AND (town LIKE 'Greystoke' OR ((lat-<0.05 && lat->-0.05) AND (lon-<0.05 && lon->-0.05))) UNION SELECT id FROM hotels WHERE approved = 1 AND (town LIKE 'Greystoke' OR ((lat-<0.05 && lat->-0.05) AND (lon-<0.05 && lon->-0.05)))