내용이 출력이 안됩니다. 

내용이 출력이 안됩니다. 

QA

내용이 출력이 안됩니다. 

본문

< 111 > 내용이 출력이 안됩니다. 

원인이 무엇인지요?

감사합니다. 


< 111 > =================================================================================          
            <div class="wr_content <?php echo $is_dhtml_editor ? $config['cf_editor'] : ''; ?>">   
                         
                <?php if($write_min || $write_max) { ?>
                <!-- 최소/최대 글자 수 사용 시 -->
                <p id="char_count_desc">이 게시판은 최소 <strong><?php echo $write_min; ?></strong>글자 이상, 최대 <strong><?php echo $write_max; ?></strong>글자 이하까지 글을 쓰실 수 있습니다.</p>
                <?php } ?>

                <?php echo $editor_html; // 에디터 사용시는 에디터로, 아니면 textarea 로 노출 ?>

                <?php if($write_min || $write_max) { ?>
                <!-- 최소/최대 글자 수 사용 시 -->
                <div id="char_count_wrap"><span id="char_count"></span>글자</div>
                <?php } ?>
                
             </div><!-- wr_content -->
                                             
    
      
< 222 >=================================================================================       
<tr>
            <th scope="row"><label for="wr_11"></label></th>
            <td class="wr_content">
                <?php echo editor_html("wr_11", $write['wr_11'], $is_dhtml_editor); ?>
            </td>
</tr>                            
                            
                            

< 333 >=================================================================================       
<tr>
            <th scope="row"><label for="wr_12"></label></th>
            <td class="wr_content">
                <?php echo editor_html("wr_12", $write['wr_12'], $is_dhtml_editor); ?>
            </td>
</tr>                            
                            
                            
                            

이 질문에 댓글 쓰기 :

답변 4

최소 최대 글자 설정은 하셨나요?

sinbi 님, 최초의 입력은 됩니다. 그리고 출력이 됩니다.

그런데 수정을 하려면 수정이 안되고 최초의 입력한 것이 계속 출력이 됩니다.

수정하는 부분에 문제가 있는 것 같습니다. 

 

에디터를 사용하면 수정이 안되고, 에디터를 체크 하지 않고 하면 수정이 되네요.

에디터에 문제가 있는 것 같습니다.

 

크롬 등의 개발자 툴에 보면 console 창이 있는데
페이지 로딩이 다 되고 나면 에러 메시지가 뜨는지 살펴 보세요.

그리고

      <div class="wr_content <?php echo $is_dhtml_editor ? $config['cf_editor'] : ''; ?>"> 
==
            <td class="wr_content">
                <?php echo editor_html("wr_11", $write['wr_11'], $is_dhtml_editor); ?>
            </td>
사용 방법이 서로 다르네요.

블량숑, sinbi, 엑스엠엘님 답변 감사합니다.

아래의 추가 했는데 되네요. 왜 되는지는 모르겠어요.

 

 

 

if ($w == 'u') {

    $wr_content = get_text(html_purifier($write['wr_content']), 0);
    
    $wr_11 = get_text(html_purifier($write['wr_11']), 0);
    $wr_12 = get_text(html_purifier($write['wr_12']), 0);
    $wr_13 = get_text(html_purifier($write['wr_13']), 0);
       
}

 

===============

 

    function fwrite_submit(f)
    {
    
    
        
        <?php echo get_editor_js("wr_content"); ?>
        <?php echo chk_editor_js("wr_content"); ?>
    
    
        <?php echo get_editor_js("wr_11"); ?>
        <?php echo chk_editor_js("wr_11"); ?>
        <?php echo get_editor_js("wr_12"); ?>
        <?php echo chk_editor_js("wr_12"); ?>
        <?php echo get_editor_js("wr_13"); ?>
        <?php echo chk_editor_js("wr_13"); ?>        
    ~~~~~
    

답변을 작성하시기 전에 로그인 해주세요.
전체 806
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT