$item["iccid"], "code" => $t_DeviceCode, "status" => isset($item["status"]) ? $item["status"] : "" ]; } } echo json_encode($simcards); exit(); ?>