<?php session_start(); include("conn/conn.php");
if($Submit==" 删除好友 "){
    while(list($name,$value)=each($_POST)){    
         $result=mysql_query("delete from tb_my_friend where tb_friend_id='".$name."'");          
    if($result==true){
	    echo "<script>alert('删除成功!'); history.back();</script>";
	}
	}
}
?>