zero-perfoliate
zero-perfoliate

Author Topic: Dynamic radio buttons  (Read 444 times)

Offline nicolemcgrgr

  • New PHP Members
  • Posts: 3
  • Karma: +0/-0
Dynamic radio buttons
« on: December 26, 2008, 08:52:49 AM »
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...

Offline PhPHelper

  • http://Digiscapers.com
  • Full Member
  • PHP Problem Solvers
  • ****
  • Posts: 179
  • Karma: +50/-0
    • Bad Apple Mail
Re: Dynamic radio buttons
« Reply #1 on: February 10, 2009, 05:58:07 PM »
have a look at this tutorial series for php and forms should help you out http://www.tizag.com/phpT/forms.php