include('./forum_path/global.php'); $query = $db->query("SELECT COUNT(*) AS total FROM ". TABLE_PREFIX ."user"); $users = $db->fetch_array($query); echo 'Total users: '. $users['total'];