严重性:未定义的偏移量:0注意消息:尝试获取非对象的属性

时间:2015-10-12 07:00:27

标签: notice

$coordinates = file_get_contents('http://maps.googleapis.com/maps/api/geocode/json?ad## Heading ##dress=' . urlencode($address) . '&sensor=true');  $coordinates = json_decode($coordinates);   $lat = $coordinates->results[0]->geometry->location->lat;   $lng = $coordinates->results[0]->geometry->location->lng;

0 个答案:

没有答案