view.skin.php 페이지에 글쓰기를 만들었는데요
아래처럼
wr_name,wr_password
이두부분이 댓글하고 겹쳐서 글이 댓글쓰기했을때 안써집니다.
댓글에도 wr_name,wr_password 이부분이 있어서요
아래 코드를 제거하면 써지는데요
이걸 어떻게 해결해야할까요 고수님들 조언부탁드립ㄴ디ㅏ.
<?php if ($is_name) { ?>
<tr>
<th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="wr_name" value="<?php echo $name ?>" id="wr_name" required class="frm_input required" size="10" maxlength="20"></td>
</tr>
<?php } ?>
<?php if ($is_password) { ?>
<tr>
<th scope="row"><label for="wr_password">패스워드<strong class="sound_only">필수</strong></label></th>
<td><input type="password" name="wr_password" id="wr_password" <?php echo $password_required ?> class="frm_input <?php echo $password_required ?>" maxlength="20"></td>
</tr>
<?php } ?>
답변 1개
그냥 view.skin.php 부분에 /bbs/write.php를 인클루드해서 쓰시면 안되나요???
답변을 작성하려면 로그인이 필요합니다.