title: HTML, making a button submit data to another url?
body: <p>The following is my HTML:</p>
  
  <pre><code>&lt;form class="form-horizontal" method="post"&gt;
          &lt;div class="control-group"&gt;
              &lt;label class="control-label" for="inputEmail"&gt;Email&lt;/label&gt;
              &lt;div class="controls"&gt;
                  &lt;input type="text" id="inputEmail" placeholder="Email"&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="control-group"&gt;
              &lt;label class="control-label" for="inputPassword"&gt;Password&lt;/label&gt;
              &lt;div class="controls"&gt;
                  &lt;input type="password" id="inputPassword" placeholder="Password"&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="control-group"&gt;
              &lt;div class="controls"&gt;
                  &lt;label class="checkbox"&gt;
                      &lt;input type="checkbox"&gt; Remember me
                  &lt;/label&gt;
                  &lt;button type="submit" class="btn btn-success"&gt;Sign in&lt;/button&gt;
                  &lt;button class="btn btn-primary"&gt; Make a new account &lt;/button&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/form&gt;
  </code></pre>
  
  <blockquote>
    <p>Note: Just in case someone is wondering, it is utilizing the bootstrap
    library.</p>
  </blockquote>
  
  <p>I have the form and it POSTs to login.php but I want the button <code>Make a new account</code> post the <strong>same</strong> data to register.php.</p>
  
  <p>Is that possible? If so, how?</p>