title: JavaScript Confirm before deletion with PHP/MYSQL
body: <p>I have tried a number of examples here but I can get my code to actually show a popup window before deletion. The code I use can be found here: </p>
  
  <p><code>echo "&lt;td&gt;&lt;button class='btn'&gt;&lt;a href=\"deleteuserExecute2.php?login=" .$login. "\" onClick=\"return confirm(\'Delete this Account?\')\"; &gt;DELETE ACCOUNT &lt;/a&gt;&lt;/button&gt;&lt;/td&gt;";</code></p>
  
  <p><a href="http://jsfiddle.net/mpogoro/EGfcY/" rel="nofollow noreferrer">http://jsfiddle.net/mpogoro/EGfcY/</a></p>