Take, for example:
<form action="/action_page.php" method="get">
#Code here...
</form>
The action
attribute results in a submit sending the form data to a PHP file called action_page.php
.
Is it possible to refer it to an HTML file instead?
Like, maybe:
<form action="/action_page.html" method="get">
#Code here...
</form>
I realize that this may be too simple a question. But I really just want to know if it is possible.
It not, is there any other way to send form data from HTML file #1 to HTML file #2 so that I may make use of the data from file #1 in file #2?
Note:
I don't want to manipulate my HTML file to run or function as a PHP file unless it is the best way to be able to transfer form data from one HTML file to another.