I need to know the php code to retrieve the Distance element from the code below:
Distance":{"meters":11933,"html":"7.4\u0026nbsp;mi"}
i need the meters element. I only need the 11933 value
the json data is stored in an array $data which is json_decoded in php.
$json_o=json_decode($data)...
I need to know the php code to retrieve the Distance element from the code below:
Distance":{"meters":11933,"html":"7.4\u0026nbsp;mi"}
i need the meters element. I only need the 11933 value
the json data is stored in an array $data which is json_decoded in php.
$json_o=json_decode($data)...