title: How to get value from a php onclick statement
body: <p>I have the following line of code:</p>
  
  <pre><code>    echo '&lt;INPUT TYPE="submit" name="delete" value="Delete account" onClick="return confirm('Are you sure you want to delete this account?')"&gt;';
  </code></pre>
  
  <p>How would I be able to determine whether the user entered yes or no?</p>