I am using the following in php to return the driving distance details between 2 locations:
$url = 'http://maps.google.com/maps/nav?q=from:London%20to:Dover';
$data = @file_get_contents($url);
A JSON object is returned, i am not familiar with JSON can somebody please demonstrate how I can get the "Meters" element from this object into a string.
Thanks in advance.