What's the error?
You can use variables within an array index. You can also use arrays, objects, functions, expressions etc... within an array index.
Try this as a debug step
print_r($player_info_result);
This will show you the data structure of $player_info_result and may clue you in to whats going on with it.