Easy! 😃
Ok, give each one a different name, save, edit, whatever.
Then, set the action to itself, or a php page, whatever. That php page does all the work - saving, editing, etc.
Just use an if statement to determine what they did...
if(isset($save))
{
// save was used to submit
}
elseif(isset($edit))
{
// edit was used to submit
}
🙂