Jump to content

Dynamic radio buttons


nats

Recommended Posts

I want to be able to create radio buttons in my form dynamically. I have a database which has a table with some names in it, so I want to be able to create a radio button for each name I find in the table.

 

Pretend that there are 3 names, then when I open the form I should be able to see 3 radio buttons:

 

¤ name 1

¤ name 2

¤ name 3

 

How do I do this ? Can anyone please suggest some useful links or provide some help with the code...

 

Link to comment
https://forums.phpfreaks.com/topic/138465-dynamic-radio-buttons/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.