title: submitting form with two buttons
body: <p>I have 2 buttons in HTML form. And both of them should submit the form. I would need to capture which button has been clicked so i can use it to perform different actions based on which button was clicked.</p>
  
  <p>I am able to submit the form with both the buttons but how would i capture which button was clicked in the php file .</p>
  
  <pre><code>&lt;INPUT  type="button" name="submit" class="button" class="element_2" value="firstbutton"&gt;
  &lt;INPUT  type="button" name="submit1" class="button" class="element_2" value="second button.. "&gt;
  </code></pre>
  
  <p>i am using post method in Jquery to submit the form. How can i check which HTML button was clicked  in server side php script</p>