Jump to content

[SOLVED] Submit 1 Form to 2 pages?


JMair

Recommended Posts

I've been looking for an answer to this and for the most part only found 2+ year old posts with answers of it can't be done. So I'll post the question here, if it can be done you guys will know how.

 

Essentially I want to have a submit button that goes to two separate .php pages (welcome.php and welcome2.php are my examples here.)

 

Here's some script so you have an idea what I'm trying to accomplish. 

<html>
<body>

<form action="welcome.php" & "welcome2.php" method="post">
Name: <input type="text" name="fname" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>

</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/168206-solved-submit-1-form-to-2-pages/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.