I have a single page index.php with 2 tab button to separated each content. Everytime user click on this tab button they will see different content.
<ul>
<li>
<a href="javascript:changeTab('dns_soa','dns/dns_soa_edit.php')">DNS Zone</a>
</li>
li class="active"> // current active page
<a href="javascript:changeTab('dns_records','dns/dns_soa_edit.php')">Records</a>
</li>
</ul>
I need to directly redirect to 'dns_records' tab with header redirect after processing form without clicking the tab:
header("Location: /dns/dns_soa_edit.php?id=$zone");
How can I do that? Thank you.