Code:
$sql = "SELECT user,authid,srv_group,gid FROM sb_admins WHERE srv_group = 'SERVER GROUP 1' OR srv_group = 'SERVER GROUP 2' OR srv_group = 'SERVER GROUP 3' ORDER BY gid ASC";
You need to change your server groups to their real names. Lets say you have one called server admins and one called donators, you need to change it so it looks like:
Code:
$sql = "SELECT user,authid,srv_group,gid FROM sb_admins WHERE srv_group = 'server admins' OR srv_group = 'donators' ORDER BY gid ASC";
Type in the name exactly, thats why its connecting fine and not showing any results. If you have 10 groups and want all but one to be shown then the one you dont want shown use:
WHERE srv_group <> "GROUP NAME"