Jump to content

radio buttons on form


mightymouse

Recommended Posts

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

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.