I have an array here that looks like this:
Array
(
[server_info] => Array
(
[up] => 1
[up_since] => Sun, 23 Oct 2011 04:04:01 -0600
[up_for] => 2588
[version] => Beta 1.9 Prerelease 4
)
[players] => Array
(
[0] => Pyr3x
)
[server_settings] => Array
(
[map] => Underworld
[pvp] => 1
[pve] => 1
[max] => 50
)
[admins] =>
[ops] => Array
(
)
)
How would I for example print the contents of the players array without having to be specific on which object within it that I wish to print, it's dynamic so it's always going to change.
Example of the output I'd like is:
Players: Pyr3x, SomeGuy, AnotherGuy
Thank you for any help you may be able to provide.
-Pyr3x