<input type="submit" name="update_button" value="Update" />
<input type="submit" name="delete_button" value="Delete" />
if (isset($_POST['update_button'])) {
//update action
} else if (isset($_POST['delete_button'])) {
//delete action
} else {
//no button pressed
}