<?php
include_once 'forecastVo.php';
include_once 'BaseVo.php';
//ini_set("display_errors", 0);
// The value of the variable name is found
$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 developing an application where i need to get the latitude and longitude for a location.
Uptil now this code was working fine..
but now i am getting the 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 file_get_contents
i tried googling about the same error but could not find a solution? what might be wrong with this?