multiple submit to 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>