Viewing file: InsertStdPlan.php (4.41 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;
$Teacher_code = $_POST['Teacher_code'];
$Faculty_code = trim( $_POST['Faculty_code'] );
$programId = trim( $_POST['programId'] );
$Budget_Year = $_POST['Budget_Year'];
$Orderlist = trim( $_POST['Orderlist'] );
$Orderlist_2 = htmlspecialchars( trim( $_POST['Orderlist_2'] ) );
$Project_plan = htmlspecialchars( trim( $_POST['Project_plan'] ) );
$Project_name = htmlspecialchars( trim( $_POST['Project_name'] ) );
$Project_rep = htmlspecialchars( trim( $_POST['Project_rep'] ) );
$Period = htmlspecialchars( trim( $_POST['Period'] ) );
$Period_1 = htmlspecialchars( trim( $_POST['Period_1'] ) );
$Teacher_code1 = htmlspecialchars( trim( $_POST['Teacher_code1'] ) );
$Teacher_code2 = htmlspecialchars( trim( $_POST['Teacher_code2'] ) );
$Teacher_code3= htmlspecialchars( trim( $_POST['Teacher_code3'] ) );
$Teacher_code4= htmlspecialchars( trim( $_POST['Teacher_code4'] ) );
/** Call Function */
//### table --> 'projectstdplan_tb'
InsertProjectStd( $Teacher_code, $Faculty_code, $programId, $codeId , $Orderlist_2, $Orderlist, $Project_plan, $Project_name, $Project_rep, $Period,$Budget_Year, $Period_1, $Teacher_code1,$Teacher_code2, $Teacher_code3, $Teacher_code4, $Budget_Year1, $Budget_Year2, $Budget_Year3, $Budget_Year4,$Budget_Year5, $IndNo1,$IndNo2, $IndNo3,$IndNo4,$IndNo5 );
} # else
?>
ข้อมูลแผนดำเนินงานและรายงาน : ข้อมูลแผนดำเนินการ รายปีงบประมาณ - เพิ่มข้อมูลแผน/โครงการรดำเนินงาน (ข้อหลัก)
freeresult($result);
/** Close the Database */
$dbObj->disconn();
/** Unset Class */
unset($dbObj);
?> bool(false)
|