<?php

?>
<html>
<head>
<title>Delete  Data Complete </title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874"></head>
<body bgcolor="#FFFFFF">
<?php
    
include("../include/FunctionDB.php");
    
ConnectDB();
         
$sql "DELETE FROM  qa_qareport_tb  Where  ReportqaId='$ReportqaId'  ";
        
$result  mysql_query$sql);
        if (!
$result)
            return 
" Please check Query Again <br>";
         if (
$result)
        echo 
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-874\" />";
                echo 
"<script>alert('บันทึกข้อมูลเรียบร้อยแล้ว');</script>";
                echo 
"<script>window.opener.document.all.myForm; window.opener.location.reload(); window.close();</script>";
                exit();
    
CloseDB();
?>
</body>
</html>