function loadZoneGroup() { global $toC_Json; $data = osC_ZoneGroups_Admin::getData($_REQUEST['geo_zone_id']); $response = array('success' => true, 'data' => $data); echo $toC_Json->encode($response); }