게시판 하단 코멘트 입력시 wr_1필드에 필드값 1을 같이 넣어주려고 합니다.
게시판 스킨중 view_comment.skin.php의 <!-- 코멘트 입력 --> 부분
<form name="fviewcomment" method="post" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" autocomplete="off" style="margin:0px;">
<input type=hidden name=w id=w value='c'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=wr_id value='<?=$wr_id?>'>
<input type=hidden name=comment_id id='comment_id' value=''>
<input type=hidden name=sca value='<?=$sca?>' >
<input type=hidden name=sfl value='<?=$sfl?>' >
<input type=hidden name=stx value='<?=$stx?>'>
<input type=hidden name=spt value='<?=$spt?>'>
<input type=hidden name=page value='<?=$page?>'>
<input type=hidden name=cwin value='<?=$cwin?>'>
<input type=hidden name=wr_1 value="1"> <--------------------------------추가한부분
<input type=hidden name=is_good value=''>
이렇게 해주면 코멘트입력할때 1값이 wr_1에 같이 입력될줄알았는데 안되네요..
어떤부분이 잘못되었는지 궁금합니다
게시판 스킨중 view_comment.skin.php의 <!-- 코멘트 입력 --> 부분
<form name="fviewcomment" method="post" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" autocomplete="off" style="margin:0px;">
<input type=hidden name=w id=w value='c'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=wr_id value='<?=$wr_id?>'>
<input type=hidden name=comment_id id='comment_id' value=''>
<input type=hidden name=sca value='<?=$sca?>' >
<input type=hidden name=sfl value='<?=$sfl?>' >
<input type=hidden name=stx value='<?=$stx?>'>
<input type=hidden name=spt value='<?=$spt?>'>
<input type=hidden name=page value='<?=$page?>'>
<input type=hidden name=cwin value='<?=$cwin?>'>
<input type=hidden name=wr_1 value="1"> <--------------------------------추가한부분
<input type=hidden name=is_good value=''>
이렇게 해주면 코멘트입력할때 1값이 wr_1에 같이 입력될줄알았는데 안되네요..
어떤부분이 잘못되었는지 궁금합니다
댓글 3개
게시글 목록
| 번호 | 제목 |
|---|---|
| 283964 | |
| 283958 | |
| 283956 | |
| 283955 | |
| 283951 | |
| 283943 | |
| 283942 | |
| 283940 | |
| 283939 | |
| 283937 | |
| 283932 | |
| 283931 | |
| 283929 | |
| 283922 | |
| 283912 | |
| 283911 | |
| 283901 | |
| 283895 | |
| 283885 | |
| 283883 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기