Hi,
I've a problem with easy confirmation script. It goes to delete.php either you hit the ok or cancel buttons.

Code:
<script type='text/javascript'>
<!--
	function confirmDelete() {
		return confirm("Are you sure you want to remove the user from database?");
	}
//-->
</script>
<?php
	echo "<a href='delete.php?user_id=" .$row['user_id']. "'><img src='images/delete.png' onclick='confirmDelete()' title='delete user' /></a>";
?>
Thanks for your help in advance