title: How to handle HTML form submission
body: <p>Thanks in advance for the help. I know this is probably a simple question, as I am relatively new to HTML. </p>
  
  <p>I have a form on my site for people to become members.. I want users to input their information and click submit. When they do that, I want an email to be sent to me. However, I want the user to be redirected to a different page on the site where they will pay for their membership. How can I do both of those things (send email, redirect) at the same time?</p>
  
  <p>Here is my form:</p>
  
  <pre><code>&lt;form&gt;
      First name:     &lt;input type="text" name="firstname"&gt;
      Last name:      &lt;input type="text" name="lastname"&gt;&lt;br&gt;
      Street:         &lt;input type="text" name="street" size="60"&gt;&lt;br&gt;
      City:           &lt;input type="text" name="city"&gt;
      State:          &lt;input type="text" name="state"&gt; 
      ZIP:            &lt;input type="text" name="zip"&gt;&lt;br&gt;
      Email:          &lt;input type="text" name="email" size="60"&gt;&lt;br&gt;
      Phone:          &lt;input type="text" name="phone" size="60"&gt;&lt;br&gt;
      City/Township:  &lt;input type="text" name="votingcity"&gt;
      Precinct No.:   &lt;input type="text" name="precinct"&gt;&lt;br&gt;
      &lt;br&gt;
      &lt;hr&gt;
      &lt;br&gt;
      &lt;p&gt;Government regulations require the following information:&lt;br&gt;&lt;/p&gt;&lt;br&gt;
      Occupation:         &lt;input type="text" name="occupation" size="60"&gt;&lt;br&gt;
      Employer's Name:    &lt;input type="text" name="employer" size="60"&gt;&lt;br&gt;
      Employer's Street:  &lt;input type="text" name="emp_street" size="60"&gt;&lt;br&gt;
      Employer's City:    &lt;input type="text" name="emp_city"&gt;
      Employer's State:   &lt;input type="text" name="emp_state"&gt;
      Employer's ZIP:     &lt;input type="text" name="emp_zip"&gt;&lt;br&gt;
      &lt;br&gt;
      &lt;hr&gt;
      &lt;br&gt;
      Submit &lt;input type="submit"&gt;
  &lt;/form&gt;
  </code></pre>