|
|
|
21년 전
|
조회 564
|
|
|
|
21년 전
|
조회 387
|
|
|
|
21년 전
|
조회 295
|
|
|
|
21년 전
|
조회 341
|
|
|
|
21년 전
|
조회 329
|
|
|
|
21년 전
|
조회 366
|
|
|
|
21년 전
|
조회 287
|
|
|
|
21년 전
|
조회 415
|
|
|
|
21년 전
|
조회 290
|
|
|
|
21년 전
|
조회 466
|
|
|
|
21년 전
|
조회 428
|
|
|
|
21년 전
|
조회 395
|
|
|
|
21년 전
|
조회 367
|
|
|
|
21년 전
|
조회 382
|
|
|
|
21년 전
|
조회 376
|
|
|
|
21년 전
|
조회 473
|
|
|
|
21년 전
|
조회 403
|
|
|
|
21년 전
|
조회 488
|
|
|
|
21년 전
|
조회 330
|
|
|
|
21년 전
|
조회 293
|
댓글 1개
내용값에 해당하는 변수는 손을 좀 봐야겠지만요.
$sql = " insert into $write_table
set ca_id = '$ca_id',
wr_notice = '$wr_notice',
wr_html = '$wr_html',
wr_num = '$wr_num',
wr_reply = '',
wr_comment = '0',
wr_commentcnt = '0',
wr_subject = '$wr_subject',
wr_content = '$wr_content',
wr_hit = '0',
mb_id = '$mb_id',
wr_name = '$wr_name',
wr_passwd = '$wr_passwd',
wr_email = '$wr_email',
wr_homepage = '$wr_homepage',
wr_datetime = '$now',
wr_ip = '$_SERVER[REMOTE_ADDR]',
wr_user_agent = '$_SERVER[HTTP_USER_AGENT]' ";