2014-06-20, 03:24 PM
$query = $db->simple_select("usergroups", "*", "gid IN (".$mybb->user['additionalgroups'].") AND gid !='".$mybb->user['usergroup']."'", array('order_by' => 'title'));
I'd like to edit this to exclude certain usergroups. I believe I need an array to do so but not quite sure where.
So if I need to exclude user group 7,8,9 and 10. How should I re-write?
Thanks