how to get data with json

example i have this link which display country name and city name how can i retrive them in my file ??

http://maps.googleapis.com/maps/api/geocode/json?latlng=31.200092,29.918739&sensor=false

Depends there’s plenty of ways. If you want to use PHP you would probably want to use cURL to fetch the URL then json_decode()

Sponsor our Newsletter | Privacy Policy | Terms of Service