You could do something like this:



// Get clients
$clients = $ts3_VirtualServer->clientList();
foreach ($clients as $client) {

// Get extra info from db
$db_id =...