How can I have multiple forms SUBMITTED/POSTED
to PHP with one submit button? Is there an easy html way to achieve this? I need to use traditional $_POST
variable on the PHP side that's why.
Example
<form class="form-horizontal" method="post">
// SOme fields
</form>
<form class="form-horizontal" method="post">
// SOme more fields
</form>
<form class="form-horizontal" method="post">
// some fields here
<button type="submit" class="btn btn-success">Stuff</button> // This button posts all three forms!
</form>