<input type="submit" formaction="example.php"> <button type="submit" formaction="mail.php"> Button</buttton>