RE: [PHP] radio button help

From: Date: Sun, 16 Sep 2001 19:07:23 +0000
Subject: RE: [PHP] radio button help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-67519@lists.php.net to get a copy of this message
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:veber@ptt.yu] 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#67519) next »