I have this HTML code
<form method="POST" action="action.php">
<input type="submit" value="Address" name="B2" style="font-family: Verdana; font-size: 8pt; color: #FFFFFF; border: 1px solid #000000; background-color: #000000">
<input type="submit" value="Phone" name="B2" style="font-family: Verdana; font-size: 8pt; color: #FFFFFF; border: 1px solid #000000; background-color: #000000">
</form>
in action.php i want a code to run depending on which optoin was clicked ie: B! or B2, how can this be done?