Hi,
I need a script that will return the ID of the search group and then the script that will read its name from that id
I make something like this:
I need a script that will return the ID of the search group and then the script that will read its name from that id
I make something like this:
Code:
$user_groups = explode(',',$client['client_servergroups']);
groups to search for are in array like this 'Groups' => array(21,65)
if($instance->isInGroup($user_groups,$config[$instanceid]['functions']['functiontest']['Groups'])) // return true/1 if yes
and here I do not know how to return the found group id and then retrieve its name