Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $number = 1
- $ordered = array_sort($utenti, 'oregiocate', SORT_DESC);
- foreach ($ordered as &$value) {
- if ($value['kills'] == 'Account non valido') {
- continue;
- }
- $value['posizioneh'] = $number;
- $number++;
- }
- $utenti = $ordered;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement