에디터 여러개 사용하는방법

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
에디터 여러개 사용하는방법

QA

에디터 여러개 사용하는방법

본문


<tr>
                    <th scope="row"><label for="co_title">콘텐츠 제목1</label></th>
                    <td><input type="text" name="co_title" value="<?php echo htmlspecialchars2($co['co_title']); ?>" id="co_title" required class="frm_input required" size="90"></td>
                </tr>
                <tr>
                    <th scope="row">내용</th>
                    <td><?php echo editor_html('co_content', get_text(html_purifier($co['co_content']), 0)); ?></td>
                </tr>
                <tr>
                    <th scope="row"><label for="co_title2">콘텐츠 제목2</label></th>
                    <td><input type="text" name="co_title2" value="<?php echo htmlspecialchars2($co['co_title2']); ?>" id="co_title2" class="frm_input" size="90"></td>
                </tr>
                <tr>
                    <th scope="row">내용2</th>
                    <td><?php echo editor_html('co_content2', get_text(html_purifier($co['co_content2']), 0)); ?></td>
                </tr>
                <tr>
                    <th scope="row"><label for="co_title3">콘텐츠 제목3</label></th>
                    <td><input type="text" name="co_title3" value="<?php echo htmlspecialchars2($co['co_title3']); ?>" id="co_title3" class="frm_input" size="90"></td>
                </tr>
                <tr>
                    <th scope="row">내용3</th>
                    <td><?php echo editor_html('co_content3', get_text(html_purifier($co['co_content3']), 0)); ?></td>
                </tr>
                <tr>
                    <th scope="row"><label for="co_title4">콘텐츠 제목4</label></th>
                    <td><input type="text" name="co_title4" value="<?php echo htmlspecialchars2($co['co_title4']); ?>" id="co_title4" class="frm_input" size="90"></td>
                </tr>
                <tr>
                    <th scope="row">내용4</th>
                    <td><?php echo editor_html('co_content4', get_text(html_purifier($co['co_content4']), 0)); ?></td>
                </tr>
                <tr>
                    <th scope="row"><label for="co_title5">콘텐츠 제목5</label></th>
                    <td><input type="text" name="co_title5" value="<?php echo htmlspecialchars2($co['co_title5']); ?>" id="co_title5" class="frm_input" size="90"></td>
                </tr>
                <tr>
                    <th scope="row">내용5</th>
                    <td><?php echo editor_html('co_content5', get_text(html_purifier($co['co_content5']), 0)); ?></td>
                </tr>
                <tr>
                    <th scope="row"><label for="co_title6">콘텐츠 제목6</label></th>
                    <td><input type="text" name="co_title6" value="<?php echo htmlspecialchars2($co['co_title6']); ?>" id="co_title6" class="frm_input" size="90"></td>
                </tr>
                <tr>
                    <th scope="row">내용6</th>
                    <td><?php echo editor_html('co_content6', get_text(html_purifier($co['co_content6']), 0)); ?></td>
                </tr>

 

현재 이런식으로 폼 입력이 구성되어있는데

첫번째 co_content는 값이 잘 들어가는데

co_content2~co_content6은 값이 안들어가지네요.. db에 컬럼도 추가했고 longtext로 다 동일하고

 


$editor_html = editor_html('wr_content', $content, $is_dhtml_editor);
$editor_html2 = editor_html('wr_content2', $content2, $is_dhtml_editor);
$editor_html3 = editor_html('wr_content2', $content2, $is_dhtml_editor);
$editor_html4 = editor_html('wr_content2', $content2, $is_dhtml_editor);
$editor_html5 = editor_html('wr_content2', $content2, $is_dhtml_editor);
$editor_html6 = editor_html('wr_content2', $content2, $is_dhtml_editor);
$editor_js = '';
$editor_js2 = '';
$editor_js3 = '';
$editor_js4 = '';
$editor_js5 = '';
$editor_js6 = '';
$editor_js .= get_editor_js('wr_content', $is_dhtml_editor);
$editor_js .= chk_editor_js('wr_content', $is_dhtml_editor);
$editor_js2 .= get_editor_js('wr_content2', $is_dhtml_editor);
$editor_js2 .= chk_editor_js('wr_content2', $is_dhtml_editor);
$editor_js3 .= get_editor_js('wr_content3', $is_dhtml_editor);
$editor_js3 .= chk_editor_js('wr_content3', $is_dhtml_editor);
$editor_js4 .= get_editor_js('wr_content4', $is_dhtml_editor);
$editor_js4 .= chk_editor_js('wr_content4', $is_dhtml_editor);
$editor_js5 .= get_editor_js('wr_content5', $is_dhtml_editor);
$editor_js5 .= chk_editor_js('wr_content5', $is_dhtml_editor);
$editor_js6 .= get_editor_js('wr_content6', $is_dhtml_editor);
$editor_js6 .= chk_editor_js('wr_content6', $is_dhtml_editor);

 

위와 같이 wirte.php에 추가도 다 해줬는데 왜 값이 안들어갈까요 ㅜ

 

이 질문에 댓글 쓰기 :

답변 1

$editor_js 변수는 만들어 두셨는데 해당 
$editor_js2~6을 자바스크립트 fwrite_submit 함수단에 적용을 해주셔야 하는데 처리된걸까요?
답변을 작성하시기 전에 로그인 해주세요.
전체 748
QA 내용 검색

회원로그인

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