Re: [PHP] radio button help

2001-09-17 Thread Alexander Skwar

So sprach »biscut« am 2001-09-16 um 20:07:23 +0100 :
> you would simply have the following:
> 
> blah1
> blah2
> blah3

Of course I was thinking about checkboxes

Nevermind :)

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 4 days 5 hours 49 minutes

--
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]




Re: [PHP] radio button help

2001-09-17 Thread Alexander Skwar

So sprach »Nikola Veber« am 2001-09-17 um 08:48:17 +0200 :
> How am I suposed to handle multiple buttons(what should I change, name or the 
> value?)

Make it an array:

One
Two

In your PHP script, you can then easily parse the $radios array.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 4 days 5 hours 47 minutes

--
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]




RE: [PHP] radio button help

2001-09-16 Thread biscut

you would simply have the following:

blah1
blah2
blah3

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:



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]




[PHP] radio button help

2001-09-16 Thread Nikola Veber

Hi !
I know that this may be not the right place for this question,  bu anyway:
The radiobutton tag looks like this:



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]