Since the number of data retrieved from the database is variable, the number of radio buttons is also variable. How to determine the value of the radio button?
Assign values together when generating radio buttons
I hope the value will be increasing, but the number of buttons It is determined based on the number of data items. It is dynamically generated.
can obtain data, and the number can also be obtained.
How to assign dynamic values to radio buttons in HTML?