PHP code to access player data in array