<?php
    
include("../include/FunctionDB.php");
    
ConnectDB();            
$Date_note $_POST[mYear]."-".$_POST[mMonth]."-".$_POST[mDate];
$Student_id $_POST[Student_id];
//echo"$Student_id";
$sql "UPDATE std_absent_tb SET Date_note='$Date_note',Case_ab='$Case_ab',Unit='$Unit' WHERE code ='$code' ";
$result mysql_query($sql) or die("Update Error $sql".mysql_error());
   echo
"<center><font face=\"Tahoma\"size=\"6\" color=\"#FF0000\">Update Complete</font></center>";
  echo
"<meta http-equiv=\"refresh\" content=\"1;URL=EditFur.php?Student_id=$Student_id\">";
//    header("Location:EditHealthList.php?Student_id=$Student_id");                
        
CloseDB();
?>