that easy? oops, thought it required another function
My goal is to put the variable in the pm datamanager
$pmdm->set_recipients($list_username, $botpermissions);
So in the foreach maybe I need something like this?
Code:
foreach($list_usernames AS $list_username)
{
$listusernames = $list_username;;
}
$pmdm->set_recipients($listusernames, $botpermissions);
UPDATE:
Think I got it
PHP Code:
foreach($list_usernames AS $list_username)
{
$listusernames .= '' . $list_username . ';';
}