Viewing file: InsertPlaningIn.php (5.2 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;
$Project_code= $_POST['Project_code'];
$Faculty_code = $_POST['Faculty_code'];
$Teacher_code = $_POST['Teacher_code'];
$Project_plan = $_POST['Project_plan'];
$Orderlist = $_POST['Orderlist'];
$Training_name = htmlspecialchars( trim( $_POST['Training_name'] ) );
$programId = $_POST['programId'];
$Year = $_POST['Year'];
$MoneyS_C = $_POST['MoneyS_C'];
$MoneyId = $_POST['MoneyId'];
$Ind = $_POST['Ind'];
$Date = $_POST['mYear'] ."-". $_POST['mMonth'] ."-". $_POST['mDate'];
$Budget_use = $_POST['Budget_use'];
//### Call Function ( table --> 'project_tb' )
InsertProject( $Training_code, $Project_code, $ProjectId, $MoneyId, $MoneyS_C, $Faculty_code, $Teacher_code, $Ind, $Orderlist, $Project_plan, $Training_name, $Date, $Budget_use, $programId, $Budget_Year, $Year );
} # else
?>
MIS -- Teacher
|