php - I have both Login And Register form Inside a tab content. So the Problem Is That I can set action for any one form. How can I sove it

one text

Solution:

Put separate form tag for each tab

<div class="tab-pane active" id="login" role="tabpanel">
<form>
</form>
</div>

<div class="tab-pane" id="register" role="tabpanel">
<form>
</form>
</div>

Source