hi
i have a page where all the username will be listed.i want to delete them.........before tat i want ask the user whether he wants to delete in a popup.if he clicks yes then his name should be deleted
1st page
<a href="http://cc.com/icc/delete.php?id=<? echo $value[0];?>"><img src="images/b_drop.png" border="0"/></a>
delete.php
<?
$id=$_GET['id'];
echo $id;
require_once('common/dblayer.php');
$db=new dblayer();
$res=$db->delrec($id);
?>