Answer the question
In order to leave comments, you need to log in
How to submit a form to multiple PHP pages?
Here is the thing: There is a form
<form action="sign.php" method="post" name="form1" target="_self" class="container px-md-4 shadow">
<h1>Sign in</h1><hr>
<p>Your name<br><input name="name" type="text" size="20"></p><img src="./img/lock.svg">
<p>Your password<br><input name="pas" type="text" size="20"></p>
<p><input name="submit" type="submit" value="Send" class="btn btn-primary waves-effect waves-light"></p>
</form>
Answer the question
In order to leave comments, you need to log in
Make the root script dispatcher.php which will "send out" using its functionality. And so - no way.
That is, first
<form action="dispatcher.php" method="post">
And then INSIDE dispatcher.php you already "send" the data by calling the necessary scripts.
No, and it doesn't need to.
Submit the form and process it on the server in several ways, as you need.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question