Re: following radio & hidden does not work..... help please.
- From: dba <someone@xxxxxxxxxxxxx>
- Date: Fri, 30 May 2008 20:08:23 -0500
How much code do you need? The question is fairly simple. Using a radio input or a select input can you get multiple variables returned.
Three variables are needed
member_id
member_fname
member_lname
Current sql returns concatenated fname and lname. I can not get third variable to POST in action php code.
cwdjrxyz wrote:
On May 30, 4:42 pm, dba <some...@xxxxxxxxxxxxx> wrote:.using the following code with a problem....
echo "<input type='hidden' name='member_id' value=\"{$row[0]}\">{$row[0]}";
echo "<input type='radio' name='member_name' value=\"{$row[1]}\">{$row[1]}<br />";
The post_data.php program posts the following
member id is: 0009
member_name is: Ralph Jones
cccb_name is: Annexation Committee
Everything is ok but the member id. The number listed '0009' is the number of the last name in the
returned result. It is NOT the number listed with Ralph Jones which is '0007'.
This works the same with a radio button or a select statement.
Any help will be appreciated.
I agree with the answer you were given in comp.lang.php. In plain
English, it says that you are unlikely to get help on this question
anywhere unless you post a more complete version of the code or a
working example on a web site(the best way).
- References:
- Prev by Date: Re: Part of the page from a file
- Next by Date: Re: Frames
- Previous by thread: Re: following radio & hidden does not work..... help please.
- Next by thread: Re: following radio & hidden does not work..... help please.
- Index(es):