I'm struggling to get the "Adams County" from "administrative_area_level_2" type from this api response http://maps.googleapis.com/maps/api/geocode/json?latlng=39.76144296429947,-104.8011589050293&sensor=false .
I simply need to output the county based on the latitude and longitude.
$query = @unserialize(file_get_contents('http://maps.googleapis.com/maps/api/geocode/json?latlng=39.76144296429947,-104.8011589050293&sensor=false'));
echo 'Hello visitor from '.$query["response"];
This is what I have for now. Thank you.