01.
$member_ID
=
$_GET
[
"member_ID"
];
02.
$ses_username
=
$_SESSION
[
"ses_username"
] ;
03.
04.
05.
$strSQL
=
" INSERT INTO project "
;
06.
$strSQL
.=
"(pro_id,username,pro_name,pro_type,pro_kpi,pro_money,pro_location,pro_person,pro_halfyear,pro_year,datesend,divition,status) "
;
07.
$strSQL
.=
"VALUES "
;
08.
$strSQL
.=
"('"
.
$_GET
[
"pro_id"
].
"','"
.
$_SESSION
[
"ses_username"
].
"','"
.
$_POST
[
"textname"
].
"','"
.
$_POST
[
"listtype"
].
"','"
.
$_POST
[
"textkpi"
].
"' "
;
09.
$strSQL
.=
",'"
.
$_POST
[
"textmoney"
].
"'"
;
10.
$strSQL
.=
",'"
.
$_POST
[
"textlocation"
].
"','"
.
$_POST
[
"textperson"
].
"','"
.
$_POST
[
"listhyear"
].
"' "
;
11.
$strSQL
.=
",'"
.
$_POST
[
"listyear"
].
"','"
.
$_POST
[
"textdatesend"
].
"','"
.
$_POST
[
"divition"
].
"','"
.
$_POST
[
"status"
].
"') "
;
12.
13.
$objQuery
= mysql_query(
$strSQL
)
or
die
(
"Error Query ["
.
$strSQL
.
"]"
);