/trunk/jrest/services/LocationSearch.php |
---|
99,13 → 99,10 |
} |
while ($row =& $res->fetchrow(DB_FETCHMODE_ASSOC)) { |
// $value[]=array($row['name']." (".sprintf("%02s",$row['code']).")",$row['code']); |
$value[]=array($row['name']." (".sprintf("%02s",$row['code']).")",$row['code']); |
} |
$json = new Services_JSON(); |
$output = $json->encode($value); |
$output = json_encode($value); |
print($output); |