กรุณากรอก รหัสอุปกรณ์";
//$button ="";
//$Flag = false;
//}
///////// check period time long or short
//if ($Acc_name =="")
//{
//$msg .="
กรุณากรอก ชื่ออุปรณ์";
//$button ="";
//$Flag = false;
//}
/////////////////// type
//if ($Acc_type_code =="")
//{
//$msg .="กรุณากรอก ชนิดชื่ออุปรณ์";
//$button ="";
//$Flag = false;
//}
/////////////////// Store
//if ($Store =="")
//{
//$msg .="กรุณากรอก ที่จัดเก็บ";
//$button ="";
//$Flag = false;
//}
///////// check period time long or short
//if ($Status =="")
//{
//$msg .="กรุณากรอก สถานะอุปรณ์";
//$button ="";
//$Flag = false;
//}
///////////////////////// Check Address /////////////////////////////
if( $Flag)
{
$Path = "../Man_pic";
if ( isset($Img1))
if (copy($Img1,"$Path/$Img1_name"))
{
unlink ($Img1);
$Img1 = "$Path/$Img1_name";
}
else
echo"Can't Copy";
InsertMan($Acc_code,$Teacher_code,$Student_id,$Acc_name,$Store,$Img1,$Fix_History, $Contact, $Date_buy,$Date_year,$Price,$Fix_budget,$Status,$Status_1,$Statistic,$Description);
$msg.="ระบบจัดเก็บข้อมูลเรียบร้อยแล้ว";
echo"\n";
}
CloseDB();
?>
Inserting Manament
\n";
echo"Please Login ";
}
?>