mightymouse Posted March 6, 2007 Share Posted March 6, 2007 I have a form on me website which is directed to a php file which then is sent to my email. all works fine . I have added some radio buttons for users to tell me on which subject they would like information. so depending on which radio button they choose , I get to know what subject it is. I have had it working for one of the buttons but cant get it to work if they choose another button. this is the code I have used but it has no code for the radiobuttons <?php mail("[email protected]","Comments from \n".$_REQUEST['name'],"They Said: \n".$_REQUEST['comments']."\n\nTel:\n".$_REQUEST['yourtel']."\n\nThis is the sender\n".$_REQUEST['youremail']); header ("Location: http://www.kabaddi-grange.co.uk/thankyou.htm"); ?> http://www.kabaddi-grange.co.uk any help would be great ??? Link to comment https://forums.phpfreaks.com/topic/41528-radio-buttons-on-form/ Share on other sites More sharing options...
willpower Posted March 6, 2007 Share Posted March 6, 2007 ok...this will be simple...BUT...we need to se a) your HTML that generates the buttons. (are they grouped or can there be more than one choice) Link to comment https://forums.phpfreaks.com/topic/41528-radio-buttons-on-form/#findComment-201208 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.