$crit = new Criteria('id', 1, '<>'); // Should get all groups except for admin
$hGroups =& xoops_gethandler('group'); // Make groups handler
$groups =& $hGroups->getObjects($crit); // Retrieve groups matching criteria
echo "; // In your registration form
foreach($groups as $group){ // Loop through each group
echo "";
}
Thank you for your reply. That was the first thing I tried.
I did not want my readers to feel rejected!