submit two forms on same page 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>