Simple delete confirmation
<head>
<script type=”text/javascript”>
function confirmDelete()
{
return confirm(‘Are you sure?rnrnThis will permanantly delete user from the database!’ );
}
</script>
</head>
<script type=”text/javascript”>
function confirmDelete()
{
return confirm(‘Are you sure?rnrnThis will permanantly delete user from the database!’ );
}
</script>
</head>
<body>
<a onclick=”return confirmDelete();” href=”delete_user.php?id=<? echo $row_ul[‘username’]; ?>”>Delete</a>
</body>