<?php
include("admin.php");
$rst=mysql_query("SELECT * FROM `".$ad."sjadmin` WHERE `name` LIKE '{$_SESSION['name']}'");
$rwt=mysql_fetch_assoc($rst);
$id=$_GET['id'];
if($_GET['id']){
mysql_query("DELETE FROM `".$ad."user` WHERE `".$ad."user`.`id` ='{$id}' LIMIT 1;");
echo "<script language=javascript>  
alert( \"恭喜你，会员删除成功\"  );
location.href = \"name_show.php\"
</script>";
}else

echo "对不起，找不到你要的数据库";

?>