aus deiner common-datei:
PHP-Code:
function listMembers($id, $cat)
{ // [...]
if($cat == 'users')
$group_table = "ugroup" . $id;
if($cat == 'supporters')
$group_table = "sgroup" . $id;
$sql = "select * from $group_table where user_name != 'support_pool' order by user_name asc";
$result = $db->query($sql);
Kommentar