I had to do this in one of my first php pages, as i had a news editing page with buttons for both delete and edit.
I just used:
<input type="submit" name="type" value="Delete News">
<input type="submit" name="type" value="Edit News">
and had the page i was posting to check the value of $_POST['type']. This worked fine, and at the time was the only way i could think of getting it working properly.
I assumed that if an input element was in a form, it would be sent regardless of whether you clicked it or another button, ie. having 2 submit buttons, submit1 and submit2, clicking submit1 would still post submit2 and therefore have big problems on the if ($submit1). I don't think thats the case anymore, but i like to stay on the safe side 😉
<edit> Can't get it right when i try, no wonder my scripts never work first go </edit>