if you have
<form method-'post' action='phpscript.php'>
<input type='submit' name='action' value='Push Me'>
<input type='submit' name='action' value='Peg Me'>
</form>
and in the php script you do
$action = $_POST['action'];
if ($action == 'Push Me') {
echo 'Push Me <br/>';
}
if ($action == 'Peg Me') {
echo 'Peg Me <br>';
}
it will work fine
hope this helps
r