This is a continuation from this question: https://www.experts-exchange.com/Programming/Languages/Scripting/PHP/Q_28502915.html
I've pulled the total members and total posts successfully but unable to get the current members online.
Here is the current code, but returns nothing:
//Get current stats from SCB
$page = file_get_contents("http://forums.starcitizenbase.com
pan>/", $page, $match);
$total_post = $match;
$total_member = $match;
$total_online = preg_match_all("/<h4 class='statistics_head clearfix'>([\d,]*)<\/h4>/"
, $page, $match);
echo 'total online: '.$total_online;