|
|
|
21년 전
|
조회 594
|
|
|
|
21년 전
|
조회 422
|
|
|
|
21년 전
|
조회 322
|
|
|
|
21년 전
|
조회 369
|
|
|
|
21년 전
|
조회 348
|
|
|
|
21년 전
|
조회 394
|
|
|
|
21년 전
|
조회 315
|
|
|
|
21년 전
|
조회 449
|
|
|
|
21년 전
|
조회 315
|
|
|
|
21년 전
|
조회 499
|
|
|
|
21년 전
|
조회 451
|
|
|
|
21년 전
|
조회 426
|
|
|
|
21년 전
|
조회 388
|
|
|
|
21년 전
|
조회 414
|
|
|
|
21년 전
|
조회 406
|
|
|
|
21년 전
|
조회 489
|
|
|
|
21년 전
|
조회 434
|
|
|
|
21년 전
|
조회 512
|
|
|
|
21년 전
|
조회 359
|
|
|
|
21년 전
|
조회 317
|
댓글 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]' ";