<?php
    
include("../include/FunctionDB.php");
    
ConnectDB();  
    
$Skill htmlspecialchars(trim($_POST[Skill]));
   
$strSQL="UPDATE personal_tb  SET  Teacher_id='$Teacher_id',TeacherId ='$TeacherId',officerId1='$officerId1',Gover_pos='$Gover_pos',Salary_1='$Salary_1',Salary_2='$Salary_2',Salary_3='$Salary_3'  WHERE Teacher_code='$Teacher_code'";
    
$result  mysql_query($strSQL) or die("Update Error $strSQL".mysql_error());
    
//header("Location:PersonalMonyList.php?Teacher_code=$Teacher_code");    
           
echo"<meta http-equiv=\"refresh\" content=\"1;URL=PersonalMonyList.php?Teacher_code=$Teacher_code\">\n";
            
        
CloseDB();
?>