Computer Hope

Internet & Networking => Web design => Topic started by: nicolemcgrgr50 on December 26, 2008, 12:06:18 PM

Title: Dynamic radio buttons
Post by: nicolemcgrgr50 on December 26, 2008, 12:06:18 PM
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...
Title: Re: Dynamic radio buttons
Post by: fffreak on December 29, 2008, 03:42:19 PM
We need more information, what web programming language are you using? Do you have any source code that we can hack away at, since I'm sure most people do not want to code the entirety of file?