title: How can PHP determine if the user pressed the Enter key or Submit button?
body: <p>The problem I have is that I have multiple submit inputs in a single form. Each of these submit inputs has a different value and I would prefer to keep them as submit.</p>
  
  <p>Whenever the user presses <kbd>Enter</kbd>, it is as though the topmost submit input is being pressed, and so it is causing problems for the code checking which input was clicked.</p>
  
  <p>Is there a way for PHP to determine whether or not the input was clicked, or was just the input that was selected when the user pressed the <kbd>Enter</kbd> key?</p>