Is there any way to detect in the php which submit button was sent? To create a function, if one is clicked execute one, if the other executes the other function?
<form method="post" action="" enctype="multipart/form-data">
<input type="submit" name="F1" value="atualizar">
<input type="submit" name="F2" value="deletar">
</form>