Radio group
How do I handle a radio button group using PHP4? I am trying to put a poll on my site using five raiod buttons. I know there is some table handling but I am new to scripting and only know the basics. Is there a good book or tutorial out there that would teach me this?
Thanks.
Busy posted this at 04:46 — 2nd September 2002.
He has: 6,151 posts
Joined: May 2001
how do you want the radio buttons to work, select one, select all ... usually done in an array, name it anything and put square brackets at the end ie: name="radio_option[]" if they all have the same name it will create an array and you call that array to get the input.
and/or
do a search on the web for php forms
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.