• 0

php email question


Question

Sorry, but I just started looking at php. I have a drop down menu and the html code is something like

<select>

<option> a </option>

<option> b </option>

</select>

its for a survey, and there will be a lot more options than that, but when the person makes a selection, how do I have the selection that they choose email back to me ?.

Thanks, I appreciate the help.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

If you don't need to process it, the simplest way is to just set the action attribute of the form to your email address. The disadvantage to this method is that all your users will have to have an email client setup and configured on their PC. The best way to do it, is to pass it to a server-side script that will process it and email it to you.

Check HotScripts for mail scripts - there's a bunch there, in several different languages depending on what your server supports.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.