Jump to content

[SOLVED] Radio button help!!! how do you get the name value???


toxinhead

Recommended Posts

Hey there guys!

 

Can someone please help me find out how to get different name values out of radio buttons so i can put them into mysql!

here is my form!

 

<form name="form1" method="post" action="register_work.php">

Gender: <input name="gender" type="radio" value="robot" checked> Robot <br/>

  <input name="gender" type="radio" value="male">  Male <br/>

<input name="gender" type="radio" value="female"> Female <br/>

<input value="Submit now"  name="submit" type="submit">

 

Since they all have to have the same name value "gender" to be in a group, i cant find a way to send the values differently into mysql as they all come up with "gender" no matter what radio button you click on!

 

Please help!

Ricky

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.