get_results("SELECT group_id, group_name, group_desc, group_longdesc FROM $tableoptiongroups ORDER BY group_id"); foreach ($option_groups as $option_group) { if ($option_group->group_id == $option_group_id) { $current_desc = $option_group->group_desc; $current_long_desc = $option_group->group_longdesc; $groups .= "