Confirmation box when clicking on a delete link...
Posted: Tue Apr 19, 2005 4:50 am
Hi,
is there any way of making a confirmation window come up to select Yes or No when clicking on a delete link to delete a record? Please bear in mind I am refering to a link and not a form button. Thanks. For example if I have the following code:
is there any way of making a confirmation window come up to select Yes or No when clicking on a delete link to delete a record? Please bear in mind I am refering to a link and not a form button. Thanks. For example if I have the following code:
Code: Select all
echo "<tr>
<td>" . stripslashes($row['user_id']) . "</td>
<td>" . stripslashes($row['first_name']) . "\n" . stripslashes($row['last_name']) . "</td>
<td>" . stripslashes($row['email']) . "</td>
<td>" . stripslashes($row['URN']) . "</td>
<td>" . stripslashes($row['registration_date']) . "</td>
<td align><a href=\"delete_user.php?user_id={$row['user_id']}\">Delete</a></td>