<?php
include_once 'forecastVo.php';
include_once 'BaseVo.php';
$count=0;
$json_url = file_get_contents(
'http://maps.google.com/maps/api/geocode/json' .
'?address='jaipur'&sensor=false'); //line 9
if($json_url){
$obj = json_decode($json_url,true);
$obj2= $obj['results'];
}
?>
I am getting an error:
Parse error: syntax error, unexpected T_STRING in /home/a4101275/public_html/index.php on line 9
line 9 is where I am using the file_get_contents
.
What does the error mean and how do I fix it?