1
Good afternoon guys, I have a form that needs to do 2 different actions, 1 of them is to update a php page with name update.php and another to delete with name delete.php, I need to depend on the option clicked the form send to update or delete, however I do not know how to do, someone can help?
Make a page where you do both actions
– Wees Smith
But if it is extremely necessary, if you really do not have to do the two actions in a single PHP page, ai vc can use
$.ajax()
and send to both– Wees Smith
Post the code of your form, to do this, you will need to use javascript, jquery perfectly solves your problem.
– lpFranz