I have a curious doubt and maybe an idiot, but come on.
Is it possible to send data from one form to two different files in php?
I have a curious doubt and maybe an idiot, but come on.
Is it possible to send data from one form to two different files in php?
Using PHP: You can send via post or get to a file (controller), which will handle and distribute the data to the 2 different models.
Using JAVASCRIPT: You can get the fields you want and send (via post or get) to different files via AJAX.
I hope I have helped.
As Alan said, this is possible via AJAX.
Even though I do not know your needs, I can say that the most "cheap" will always be to do the entire processing in a single PHP server-side script.