I had a question with a href button, is it possible to send variables to two different files? for example send to add.php and send it also when removing.php For example something like this:
<a href="eliminar.php&&agregar.php?variable=<?php valor a enviar ?>"
It turns out that when I insert a record, for example, the autoincrementing id is like this: 1.2.3.4.5 and I delete record 5 and if I insert a record again, it does not jump to 6, but it adds me to id 5, since It has to be consecutive and I try to send it to another file to be able to do the validation, they would help me a lot! Thank you so much!
Not possible with a tag
href
But if it is with JavaScript:
data-
that allows you to read the data and variables you want to use.Note: here in SOes it will not work because it is supposed to be contained in a sandbox.