php-db Forms-Radio problems
| From: | Mignon Hunter | Date: | Tue, 27 Jan 2004 17:31:26 +0000 |
| Subject: | php-db Forms-Radio problems | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-32641@lists.php.net to get a copy of this message | ||
Hello
I'm having a devil of a time with my form. I'm able to process checkboxes and fields but
am having trouble with radio buttons.
Here's how I'm doing the fields which works:
<snippet>
Your Last Name
<input type="text" name="last" value="" size="30"
maxlength="40">
Title
<input type="text" name="title" value="" size="30"
maxlength="40">
</snippet>
which produces:
(
[last] => Smith
[title] => Vice President
)
But when I try:
<snippet>
<input type="radio" name="job" value="oper">
Operation & Maintenance
<input type="radio" name="job" value="eng">
Engineering (Including Project Management)
<input type="radio" name="job" value="mgmt">
Management (other than corporate)
<input type="radio" name="job" value="other">
Other - Please Specify
<input name="job" type="text" size="30">
</snippet>
and one is selected, I get:
(
[job] =>
)
I have searched archives, books, tutorials...cant figure it out. Are radio buttons handled
differently?
Can someone please enlighten me?
Thx
Mignon Hunter
Webmaster
Toshiba International Corporation
(713) 466-0277 x 3461
(800) 466-0277 x 3461