while($row = mysqli_fetch_assoc($select)) {
$id = $row['char_name'];
$pvp = $row['pvpkills'];
$result = '<ul class="list-group"><li class="list-group-item list-group-item-success"><span class="badge">'.$pvp.'</span>'.$id.'</li></ul>';
cacheStoreFile($cacheFileName, $result, 'pvp');
}