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:
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
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
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
]
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
5 matches
Mail list logo