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 (areas.name LIKE '%1002-boston-ma-02127-72604950%' OR areas.nicknames LIKE' at line 17