|
|
|
21년 전
|
조회 593
|
|
|
|
21년 전
|
조회 419
|
|
|
|
21년 전
|
조회 319
|
|
|
|
21년 전
|
조회 366
|
|
|
|
21년 전
|
조회 346
|
|
|
|
21년 전
|
조회 392
|
|
|
|
21년 전
|
조회 313
|
|
|
|
21년 전
|
조회 447
|
|
|
|
21년 전
|
조회 312
|
|
|
|
21년 전
|
조회 494
|
|
|
|
21년 전
|
조회 450
|
|
|
|
21년 전
|
조회 422
|
|
|
|
21년 전
|
조회 385
|
|
|
|
21년 전
|
조회 408
|
|
|
|
21년 전
|
조회 401
|
|
|
|
21년 전
|
조회 487
|
|
|
|
21년 전
|
조회 428
|
|
|
|
21년 전
|
조회 508
|
|
|
|
21년 전
|
조회 358
|
|
|
|
21년 전
|
조회 312
|
댓글 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]' ";