I know this type of question has been asked a lot but I can't seem to put it together.
I have a function printing a form and in this form is a loop that prints a checkbox with thier value equal to something i fetched from a mysql result (a primary key)
so how can one get all the values from the checkboxes that were actauilly checked. in the resulting page after the submit?
more concretely it is a listing of coaches and you want to add them to teams that they coach and im trying to put together a form where the user selects all choaches and the checkbox value is thier primary key in the database. then a scripts goes through and finds those coaches and relates them to the teams.
thanks for any help