How to save dynamically generated radio button into database

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



How to save dynamically generated radio button into database



I'm working on e-voting system, the number of aspirants has no limit so the radio buttons will be generated automatically. I've generated the radio buttons but saving into database is my issue as only one selection is allowed per set of applicants(aspiring for the same position).



I've generated all applicants according to their post using grid view with three columns (picture, applicant info, and the third column contains radio button). You can only check one radio button, saving each check radio button is my problem





Can you explain more or give some example, can not catch your idea.
– maximelian1986
16 mins ago




1 Answer
1



So you have several positions, and for each position there is list of applicants, from where someone can select only one. Then you need next tables: AllApplicants(Students), PositionRequestedApplicants(list of students id from first table, that want to get position), AprovedApplicants(list of student id from first table and position id from second table).






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

make 2 or more post in bootsrap

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3

Firebase Auth - with Email and Password - Check user already registered