title: How do I use two submit buttons, and differentiate between which one was used to submit the form?
body: <p>Currently, I have an HTML form where the user will enter a title and text for an article. When it is time to submit, they are presented with two buttons. One is to 'save' their article without publishing it, and the other is to 'publish' the article and make it public.</p>
  
  <p>I'm using PHP, and I am trying to figure out how to tell which button was used, in order to store the appropriate corresponding value in the database.</p>
  
  <pre><code>&lt;td&gt;
  &lt;input type="submit" class="noborder" id="save" value="" alt="Save" tabindex="4" /&gt;
  &lt;/td&gt;
  &lt;td&gt;
  &lt;input type="submit" class="noborder" id="publish" value="" alt="Publish" tabindex="5" /&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>Probably should have mentioned this earlier, but I cannot assign the buttons values because the button is an image, so the text would show up above it.</p>