"; echo "


กรุณาทำการ Login ก่อน

"; echo ""; exit(); } else { /** Configuration */ require_once( "../configuration.php" ); require_once( $_Config_absolute_path . "/includes/framework.php" ); require_once( "../includes/Function.php" ); require_once( "../includes/FunctionDB.php" ); /** Create Database Object */ $dbObj = new DBConn; //** Config Table for This Page */ $myTable1 = "personal_tb"; $myTable2 = "research_tb"; $myTable3 ="research_success_tb"; $myTable2PK = "Research_code"; $Research_code = trim( $_POST['Research_code'] ); $Success = trim( $_POST['Success'] ); $Knowledge = trim( $_POST['Knowledge'] ); $sql = "SELECT * FROM $myTable3 Where Research_code = '$Research_code' " ; $result = mysql_query($sql); $num_rows = mysql_num_rows($result); if($num_rows){ $sql =" UPDATE $myTable3 SET Success='$Success', Knowledge='$Knowledge' Where Research_code='$Research_code' "; $result = $dbObj->runQuery($sql); $dbObj->freeresult($result); } else{ InsertSuccess ( $Research_code, $collegeCode ,$Success , $Knowledge ); } } # else ?> ข้อมูลทั่วไปบุคลากร - ข้อมูลแผนการสอน - แก้ไขประวัติผลงานวิจัย
หน้าหลัก » ข้อมูลทั่วไปบุคลากร » ข้อมูลงานวิจัย » ผลงานการวิจัย » แก้ไขประวัติผลงานวิจัย
 
ระบบแก้ไขข้อมูลของท่านเรียบร้อยแล้ว
กรุณารอส้กครู่ กำลังเปลี่ยนหน้าอัตโนมัติ
"; ?>
 
freeresult($result1); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); ?>