two inputs same submit 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>