php-db- Forms radion buttons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux