jonoc33 Posted November 25, 2007 Share Posted November 25, 2007 Hey guys. I currently have a form which has the following. <form action="submit1.php" method="post"> <p class="text1">Fill in the form to sign up.</p> <p class="text1">Name<br /> <input type="text" size="30" name="name"> <br /> Email address<br /> <input type="text" size="30" name="email"> <br /> What forum you would like<br /> <span id="spryselect1"> <label> <select name="select" id="select"> <option value="phpbb">PHP BB</option> <option value="smf">SMF</option> <option value="vbulletin">VBulletin</option> </select> </label> <span><br> </span></span><br /> If VBulletin is selected, would you like VBadvanced (homepage)?<br> <label> <input type="checkbox" name="vbadvanced" id="vbadvanced"> </label> </p> <p class="text1">If PHP BB is selected, would you like PHP Nuke (homepage)?<br> <label> <input type="checkbox" name="phpnuke" id="phpnuke"> </label> </p> <p class="text1">If SMF is selected, would you like Tinyportal (homepage)?<br> <label> <input type="checkbox" name="tinyportal" id="tinyportal"> </label> </p> <p> <input type="submit" value="Sign Up"> <font face="arial" size="1"> </font> </center> </p> </form> Comes out like this: Fill in the form to sign up. Name [box] Email address [box] What forum you would like (THIS IS A DROPDOWN BOX) PHPBB, SMF, VBulletin If VBulletin is selected, would you like VBadvanced (homepage)? (TICKBOX) If PHP BB is selected, would you like PHP Nuke (homepage)? (TICKBOX) If SMF is selected, would you like Tinyportal (homepage)? (TICKBOX) When it goes to submit1.php through the form, I need to send all the information to my e-mail ([email protected]) How would I go about doing this? Or is there any script generators on the net that can allow me to do this? I've checked around google.. Thanks, Jono Quote Link to comment https://forums.phpfreaks.com/topic/78765-form-to-email/ Share on other sites More sharing options...
~n[EO]n~ Posted November 25, 2007 Share Posted November 25, 2007 You need to get all the post values from the form after user submits and then send it through php mail function, nice examples here http://php.net/mail Quote Link to comment https://forums.phpfreaks.com/topic/78765-form-to-email/#findComment-398621 Share on other sites More sharing options...
revraz Posted November 25, 2007 Share Posted November 25, 2007 You can also search the forums here and you'll find dozen of examples. Quote Link to comment https://forums.phpfreaks.com/topic/78765-form-to-email/#findComment-398715 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.