Question: how to calculate distance between two addresses in php?
Answer: $data->origin_addresses[0]; echo "<br/>"; echo "Time: ". $time." seconds"; echo "<br/>"; echo "Distance: ". $distance." meters"; ?> You can use Google Maps API and PHP for calculates the distance between two address.