"; echo "


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

"; echo ""; exit(); } else { /** Configuration */ require_once( "../configuration.php" ); require_once( $_Config_absolute_path . "/includes/framework.php" ); /** Create Database Object */ $dbObj = new DBConn; /** Config Table for This Page */ $myTable1 = "personal_tb"; $myTable2 = "history_accumu"; $Year = htmlspecialchars(trim($_POST['Year'])); $Times_total = htmlspecialchars(trim($_POST['Times_total'])); //### user_tb $query1 = " UPDATE $myTable2 SET Year ='$Year', Times_total='$Times_total' WHERE Accumu_code='$Accumu_code' "; $result1 = $dbObj->runQuery($query1); $dbObj->freeresult($result1); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); /** Output */ if( $result1 ) { echo ""; echo ""; echo ""; //echo ""; exit(); } } # else ?> Edit Password