How can I get values in a PHP array?
one text
Solution:
Your array is multidimensional, and the first dimension seems to be the IP address of the server.
If that IP address is fixed, you can use the answer of @B001ᛦ in the first comment to your question.
Otherwise, if it changes and if there can be multiple IP addresses, you can just loop.
foreach($data as $ip => $info) {
echo $info['num_players'];
}
Source