affordit Posted February 12, 2008 Share Posted February 12, 2008 I have a registration form that has 5 radio buttons on it and I need to know how to assign variables to each of them Link to comment https://forums.phpfreaks.com/topic/90674-passing-variables-with-radio-inputs/ Share on other sites More sharing options...
Cognito Posted February 12, 2008 Share Posted February 12, 2008 Use: $selected_radio = $_POST['gender']; Where gender = your radio button's assigned name. Link to comment https://forums.phpfreaks.com/topic/90674-passing-variables-with-radio-inputs/#findComment-464814 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.