我有这个功能:
function get_current_users($current_users)
{
global $db;
$current_users = $db->EscapeString($current_users);
$total_current_users = $db->QueryFetchArray("SELECT COUNT(*) FROM users AS total_current_users");
return $total_current_users['total_current_users'];
}
但我不知道如何输出结果,我尝试了以下选项但没有显示:
`<?$total_current_users?>
<?['$total_current_users']?>
<?=data['$total_current_users']?>`