Viewing file: InsertFina.php (3.77 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( "../includes/Function.php" );
require_once( "../includes/FunctionDB.php" );
/** Create Database Object */
$dbObj = new DBConn;
//=== SESSION
$Username = $valid_user;
$Year_budget = htmlspecialchars(trim($Year_budget));
$Month = htmlspecialchars(trim($Month));
$Cost1 = htmlspecialchars(trim($Cost1));
$Cost2 = htmlspecialchars(trim($Cost2));
$Cost3 = htmlspecialchars(trim($Cost3));
$Cost4 = htmlspecialchars(trim($Cost4));
$Cost5 = htmlspecialchars(trim($Cost5));
$Cost6 = htmlspecialchars(trim($Cost6));
$Cost7 = htmlspecialchars(trim($Cost7));
//$Date_note = $_POST['mYear']."-".$_POST['mMonth']."-".$_POST['mDate'];
$Date_note = dmyE2ymdT($_REQUEST['mDate']);
/////////////////////// check Code //////////////////
/** Table --> */
InsertCost4($Year_budget,$Month,$Date_note,$Cost1,$Cost2,$Cost3,$Cost4,$Cost5,$Cost6,$Cost7);
} # else
?>
ข้อมูลทั่วไปบุคลากร - ข้อมูลงานวิจัย - เพิ่มประวัติผลงานวิจัย
freeresult($result0);
/** Close the Database */
$dbObj->disconn();
/** Unset Class */
unset($dbObj);
?> |