$callsign); if(isset($json_output)) { foreach ($json_output as $name => $callsign) { $data['callsign'] = (string) strtoupper($name); $data['name'] = $callsign->first_name; $data['gridsquare'] = $callsign->gridsquare; $data['city'] = ucfirst(strtolower(($callsign->city))); $data['lat'] = ucfirst($callsign->latitude); $data['long'] = ucfirst($callsign->longitude); return $data; } } } } /* End of file hamio.php */