del.php

//데이터 베이스 연결하기
include "db_info.php";
 if($_GET[no]==""){}
$result=mysql_query("select pass from testboard where id=$id", $connect);
$row=@mysql_fetch_array($result);


if ($password==$row[password] )
{
     $conndel = "delete from board where id=$id ";
     $result=@mysql_query($conndel, $connect);
}
else
{
    echo ("
    <script>
    alert('비밀번호가 틀립니다.');
    history.go(-1);
    </script>
    ");
    exit;
}
?>
<center>
<meta http-equiv='Refresh' content='0; URL=list.php'>
<FONT size=2 >삭제되었습니다.</font>



php 게시판인데 삭제가 안되요 어떻게 바꿔야 되나염