add two submit input in same form code example
Example: same form two submits
<input type="submit" formaction="example.php">
<button type="submit" formaction="mail.php"> Button</buttton>
<input type="submit" formaction="example.php">
<button type="submit" formaction="mail.php"> Button</buttton>