Jump to content
  • Advertisement
Sign in to follow this  

[web] PHP question

This topic is 4488 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello all, I have a fairly easy question(hopefully), how do I get the value of a radio button with php? HTML:
<td class="Arial12BlackBold">   
Mr. <input type="radio"  name="rdSal2" checked="yes" value="Mr." id="rdMr">     Ms. <input type="radio"   name="rdSal2" value="Ms." id="rdMS">	              Mrs.<input type="radio"  name="rdSal2"  value="Mrs." id="rdMrs">			Dr. <input type="radio"   name="rdSal2" value="Dr." id="rdDr">
Thanks, Tony

Share this post

Link to post
Share on other sites
Original post by Pipo DeClown




$_GET['rdSal2'] depending on how you send the data. $_REQUEST has both $_GET and $_POST data.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!