sailu_mvn Posted March 9, 2007 Share Posted March 9, 2007 hi i should do a registration form which has around 8 feilds. name lastname....and one checkbox asking ur male or female. and then i have to take these values into a database all of them. i am not able to get how to take radio button values. After the user submits his registration he should be getting a mail saying thankyou.... any php postgresql geeks? Help me pls Link to comment https://forums.phpfreaks.com/topic/41936-php-project-a-simple-registration-form/ Share on other sites More sharing options...
skali Posted March 9, 2007 Share Posted March 9, 2007 <form method='post' action='your_registration_page.php'> <input name="radiobutton" type="radio" value="12345" /> <input type='submit' name='submit' value='submit'> </form> //On php page.. $your_variable = $_POST['radiobutton']; //now variable $your_variable has the value of radio button Link to comment https://forums.phpfreaks.com/topic/41936-php-project-a-simple-registration-form/#findComment-203322 Share on other sites More sharing options...
kadamsurekha Posted March 9, 2007 Share Posted March 9, 2007 you can use mail() function to send mail after collecting the data. eg. mail($email, $subject, $message, $from); $email=email address of the person to whom u want to send $subject=subject $message=ur msg goes here $From=from whom the user is receiving the msg u can try this Link to comment https://forums.phpfreaks.com/topic/41936-php-project-a-simple-registration-form/#findComment-203423 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.