<?php
 session_start
();
 if (
session_is_registered("valid_user"))
 {
?>
<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'  and code='$code' ";
        
$result  mysql_query$sql);
        if (!
$result)
            return 
" Please check Query Again <br>";
         if (
$result)
        echo
"<meta http-equiv=\"refresh\" content=\"1;URL=StandardDetail.php?code=$code\">";
           echo
"<br><br><center><font face=\"Ms San serif\"size=\"5\" color=\"#FF0000\">Delete Complete</font></center>";
    
CloseDB();
?>
</body>
</html>
<?php 
    
}
else
{
       echo
"<meta http-equiv=\"refresh\" content=\"3;URL=../login.php\">\n";
       echo
"Please Login ";
}
?>