you would simply have the following:
<input type="radio" name="radiobutton" value="radiobutton1">blah1<br>
<input type="radio" name="radiobutton" value="radiobutton2">blah2<br>
<input type="radio" name="radiobutton" value="radiobutton3">blah3<br>
Any problems let me know...
Regards
Davidt
-----Original Message-----
From: Nikola Veber [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2001 07:48
To: php forum
Subject: [PHP] radio button help
Hi !
I know that this may be not the right place for this question, bu anyway:
The radiobutton tag looks like this:
<input type="radio" name="radiobutton" value="radiobutton">
How am I suposed to handle multiple buttons(what should I change, name or
the
value?)
My point here is: Does the buttons with the same name return defined values
for
one variable(the $name of selected button = "its value), or buttons with
different
names should have a boolean value , 0 or 1, depends on weather they have
been
selected or not($name1 = 0, $name2 = 0, $name3 = 1, vhere name3 is selected)
?
Thanks
Nikola
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]