The result of a db query displays a check boxes with the name next to it, so for example, it displays each group so a subscriber can choose which groups he/she wants to join, now my problem is, how do i catch these selected values so i can add each selected option into new rows on a db table

thanks in advance,