A
Anonymous
Guest
check the $submit... with values
Code:
if ($submit1 == 'val1') {
// do this
}
if ($submit2 == 'val2') {
// do this
}
if ($submit2 == 'val3') {
// do this
}