I have this array:
Array ( [2-3] => player1 [1-3] => player2 [2-0] => player1 [5-1] => player1 [2-4] => player2 [4-1] => player2 )
What I want is something like: if array value is "player1" show all its keys in a table
Result for player1 should be this in a table:
- 2-3
- 2-0
- 5-1
I would them do the same for player2 in a different table. How can I do it?