When click on button i want to save data in database and two other tabs to be opened with other links sharing the post that is saved in database. How to give three links to a single button?
when submit action is empty means php code in same page used to submit data to database and then two links to be opened in two other tabs. how will it work.
<form action="">
......
<a href="index.html"><a href="index2.html">Submit</a></a>
</form>
i know above method is not correct.
any other methods using js to open two links at the same time in two new tabs