Viewing file: Edit_Edu_His.php (4.22 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
";
echo " กรุณาทำการ Login ก่อน ";
echo "";
exit();
}
else {
/** Configuration */
require_once( "../configuration.php" );
require_once( $_Config_absolute_path . "/includes/framework.php" );
require_once( "../include/Function.php" );
require_once( "../include/FunctionDB.php" );
/** Create Database Object */
$dbObj = new DBConn;
/*
//--- Test value
echo $Teacher_code;
exit;
*/
$myCode = $Teacher_code;
/** Receive values */
$Degree_His1_End_Year = $_POST['mYear1']."-".$_POST['mMonth1']."-".$_POST['mDate1'];
$Degree_His2_End_Year = $_POST['mYear2']."-".$_POST['mMonth2']."-".$_POST['mDate2'];
$Degree_His3_End_Year = $_POST['mYear3']."-".$_POST['mMonth3']."-".$_POST['mDate3'];
//--- Table --> 'personal_tb'
$strSQL= " UPDATE personal_tb SET Type_Degree='$Type_Degree',Degree_code='$Degree_code',Degree_His1='$Degree_His1',Degree_His1_Major='$Degree_His1_Major',Degree_His1_Institute='$Degree_His1_Institute',Degree_His1_End_Year='$Degree_His1_End_Year',Degree_His2='$Degree_His2',Degree_His2_Major='$Degree_His2_Major',Degree_His2_Institute='$Degree_His2_Institute',Degree_His2_End_Year='$Degree_His2_End_Year',Degree_His3='$Degree_His3',Degree_His3_Major='$Degree_His3_Major',Degree_His3_Institute='$Degree_His3_Institute',Degree_His3_End_Year='$Degree_His3_End_Year',Type_degree1='$Type_degree1',Type_degree2='$Type_degree2',Type_degree3='$Type_degree3' WHERE Teacher_code='$Teacher_code' ";
$result = $dbObj->runQuery($strSQL);
$dbObj->freeresult($result);
} # else
?>
ข้อมูลประวัติส่วนตัว - แก้ไขข้อมูลประวัติการทำงาน
freeresult($result);
/** Close the Database */
$dbObj->disconn();
/** Unset Class */
unset($dbObj);
?> bool(false)
|