levani
10-14-2009, 01:02 PM
Hello,
I have several radio groups in my form and I would like to add new records for each group into database when the form is submited.
What I'm trying to do is a simple betting script for soccer matches. Users can vote for whether 1, X or 2 (win, draw, loose) for each match. In order to avoid multiple selections for a single match I use radio groups.
How can I insert new record for each match with one click?
I have several radio groups in my form and I would like to add new records for each group into database when the form is submited.
What I'm trying to do is a simple betting script for soccer matches. Users can vote for whether 1, X or 2 (win, draw, loose) for each match. In order to avoid multiple selections for a single match I use radio groups.
How can I insert new record for each match with one click?