<?php require "classes/database.php"; $data = new Database(); echo json_encode($data->getChampionUsage($_GET["do"]));