mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Improve output formatting in sortChannelsBySubscribers.php by including user identification in the reordered channels display for better clarity.
This commit is contained in:
parent
3761c228de
commit
73c0c6a8c9
1 changed files with 3 additions and 1 deletions
|
@ -52,5 +52,7 @@ AVideoPlugin::setObjectData('Gallery', $obj);
|
|||
// Optional: output results
|
||||
echo "Reordered Channels:\n";
|
||||
foreach ($sections as $data) {
|
||||
echo "users_id: {$data['users_id']} | Subscribers: {$data['total_subscribers']} | New Order: {$data['new_order']}\n";
|
||||
$identification = User::getNameIdentificationById($data['users_id']);
|
||||
echo "User: [{$data['users_id']}]{$identification} | New Order: {$data['new_order']} | Subscribers: {$data['total_subscribers']}\n";
|
||||
//echo "users_id: {$data['users_id']} | Subscribers: {$data['total_subscribers']} | New Order: {$data['new_order']}\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue