Instead of echo wanna save all those values to a variable
$usersList = ''; foreach ($users as $user) { $usersList .= $user . "\n"; } Do you mean this?
Should I try this?
If you want to send users list in a post, you should not to send a request for each user. Just join the strings and send the result.
This worked like a charm🎉🎉 Tqsm
Good luck.
Обсуждают сегодня