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 'beach[3] '' OR W_Areas.w_area_county = '' beach[3] '' OR W_Areas.w_area_to' at line 30