| | |||||
| ||||||||
| Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms. |
![]() | NamePros Design Contests | Forum Sponsorship |
| Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest) | ||
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Apr 2004 Location: South East UK
Posts: 10
![]() | |
| |
| | #2 (permalink) |
| Senior Member Join Date: May 2003
Posts: 2,187
![]() ![]() ![]() | <select name="address"> <option value="email@email.com">email@email.com</option> <option value="email@bob.com">email@bob.com</option> ????: NamePros.com http://www.namepros.com/web-design-discussion/27651-drop-down-boxes-in-forms.html <option value="email@123.com">email@123.com</option> </select> have your menu set out like this then in your php file you need to post it so add this near the top of your page $email = $_POST['address']; you then need to edit your mail function in the php code should look something similar to this mail($email,$subject,$message); on the first section of the mail function (anything after the ( but before the first ,) change that to $email it then should work ![]() or if you want to evade any risk of spam bots you could use an array |
| |