<?php
    
include("../include/FunctionDB.php");
    
ConnectDB();            
$Date_rec $_POST[mYear]."-".$_POST[mMonth]."-".$_POST[mDate];
$Student_id $_POST[Student_id];
// code  Scholarship_code  Date_rec  Student_id  Consider  
$sql "UPDATE std_scholarship_tb SET  Scholarship_code='$Scholarship_code',Date_rec='$Date_rec',Student_id='$Student_id',Consider='$Consider' 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=EditList.php?Student_id=$Student_id\">";
header("Location:EditSchoList.php?Student_id=$Student_id");                
        
CloseDB();
?>