First the form:
<html>
<head>
<title>Multiple Submit buttons in PHP</title>
</head>
<body>
<form action="multiple_submit.php" method="post">
<input name="btn_submit" value="Button 1" type="submit" />
<input name="btn_submit" value="Button 2" type="submit" />
<input name="btn_submit" value="Button 3" type="submit" />
</form>
</body>
</html>
Then the PHP file receiving the POST: multiple_submit.php
As you can see the POST passes the name/value pair: btn_submit / Button X
<?php
switch ($_REQUEST['btn_submit']) {
case "Button 1":
print "You pressed Button 1";
break;
case "Button 2":
print "You pressed Button 2";
break;
case "Button 3":
print "You pressed Button 3";
break;
}
?>
Older versions of IE will mess up if you try to submit with the enter key, but with your phone I don't think that's a problem.