one form 2 submit button code example
Example 1: two buttons in same form
<input type="submit" name="button_1" value="Click me">
Example 2: same form two submits
<input type="submit" formaction="example.php">
<button type="submit" formaction="mail.php"> Button</buttton>