Re: [PHP] radio buttons from MySQL query?

2002-11-03 Thread rija
I don't think so, Put the bracket with your radio's name not with your the value/// For example : print td width=2input type=radio name=gl_acct[] value=$row['acct']{$row['acct']}/td ... and so one/ - Original Message - From: David Jackson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] radio buttons from MySQL query?

2002-11-03 Thread John Nichel
There is no reason to put brackets behind the name of the radio element. The brackets are neccessary for multi-select elements like checkboxes, but radio buttone are a single select element. Your if statement should be a while loop. I'm sure you don't want to set this ( value=acct[] ) as the

Re: [PHP] radio buttons from MySQL query?

2002-11-03 Thread rija
oups ... you're right ! - Original Message - From: John Nichel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: php [EMAIL PROTECTED]; David Jackson [EMAIL PROTECTED] Sent: Monday, November 04, 2002 2:57 PM Subject: Re: [PHP] radio buttons from MySQL query? There is no reason to put

Re: [PHP] radio buttons from MySQL query?

2002-11-03 Thread David Jackson
PROTECTED] Sent: Monday, November 04, 2002 2:57 PM Subject: Re: [PHP] radio buttons from MySQL query? There is no reason to put brackets behind the name of the radio element. The brackets are neccessary for multi-select elements like checkboxes, but radio buttone are a single select element

Re: [PHP] radio buttons from MySQL query?

2002-11-03 Thread John Nichel
] Sent: Monday, November 04, 2002 2:57 PM Subject: Re: [PHP] radio buttons from MySQL query? There is no reason to put brackets behind the name of the radio element. The brackets are neccessary for multi-select elements like checkboxes, but radio buttone are a single select element. Your