$group_id = 1; $result = dbquery("SELECT SUM * FROM ".$db_prefix."user_groups WHERE group_id='$group_id'");