title: Delete Confirmation when click on link
body: <p>I have this code inside a <code>while</code> loop for fetching data from the database. I want to show a confirmation popup when the <code>Delete</code> link is clicked.</p>
  
  <pre><code>echo "&lt;td&gt;&lt;a href='delete.php?id=" . $row['serial_no'] . "'&gt;Delete&lt;/a&gt;&lt;/td&gt;";
  </code></pre>
  
  <p>How can this be done?</p>