<?php
    
include("../include/FunctionDB.php");
    
ConnectDB();  
//   $Sl = htmlspecialchars(trim($_POST[Sl]));
   
$strSQL="UPDATE res_project_tb SET Project_name='$Project_name',Year_res='$Year_res',Duty='$Duty',Duty_else='$Duty_else',Apply='$Apply'  WHERE Resp_code='$Resp_code'";
    
$result  mysql_query($strSQL) or die("Update Error $strSQL".mysql_error());
    
header("Location:Edit_Res_List.php?Teacher_code=$Teacher_code");                
      
CloseDB();
?>