<?php
    
include("../include/FunctionDB.php");
    
ConnectDB();  
   
$Skill htmlspecialchars(trim($_POST[Skill]));
   
$strSQL="UPDATE personal_tb SET Skill='$Skill',Person_type='$Person_type',Teacher_type='$Teacher_type',Dentis_code='$Dentis_code',Gover_id='$Gover_id',Forum_nid='$Forum_nid',Club_nid='$Club_nid',Year_gov='$Year_gov',Year_coll='$Year_coll',Salary_1='$Salary_1',Salary_2='$Salary_2',Salary_3='$Salary_3',Year_fac='$Year_fac',Gover_pos='$Gover_pos',Manage_pos='$Manage_pos',Faculty_code='$Faculty_code'  WHERE Teacher_code='$Teacher_code'";
    
$result  mysql_query($strSQL) or die("Update Error $strSQL".mysql_error());
    
header("Location:Show_Work_History.php?Teacher_code=$Teacher_code");                
        
CloseDB();
?>