묻고답하기

 <?php
    /**
     * @class  munjeController
     * @brief  munje controller class
     **/

    class munjeController  extends munje {

        function init() {
        }

        function procMunjeItemInsert() {
            if(!$this->grant->write_munje) return new Object(-1, 'msg_not_permitted');

            $obj->module_srl = $this->module_srl;
            $obj->content = Context::get('content');
            $obj->munje_total = Context::get('munje_total');
            $obj->munje_gesu = Context::get('munje_gesu');
            $obj->munje_dap = Context::get('munje_dap');

            if(!$obj->content) return new Object(-1, 'msg_content_is_null');

            $logged_info = Context::get('logged_info');
            if($logged_info){
                $obj->member_srl = $logged_info->member_srl;
                $obj->nick_name = $logged_info->nick_name;
            }else{
                $obj->member_srl = 0;
                $obj->nick_name = Context::get('nick_name');
                $obj->password = Context::get('password');
                if(!$obj->nick_name || !$obj->password) return new Object(-1, 'msg_nickname_is_null');
            }

            $obj->munje_srl = getNextSequence();
            $obj->list_order = $obj->munje_srl * -1;

            $output = executeQuery('+
 '+
 'munje.insertMunjeItem',$obj);
            if(!$output->toBool()) return $output;

            $this->add('munje_srl', $obj->munje_srl);
            $this->setMessage('success_saved');
        }
    }
?>



문제은행 모듈을 만들고 있습니다. 초보라서 메모장을 뜯어 고쳐가며 만들고 있는데...이제 글이 올라 가는 것까지는 했는데...파일을 어떻게 올려야 할까요???


코드를 여기 저기 보고있는데 참고 할 만한 소스 없을까요????


           $obj->content = Context::get('content');
            $obj->munje_total = Context::get('munje_total');
            $obj->munje_gesu = Context::get('munje_gesu');
            $obj->munje_dap = Context::get('munje_dap');


문제 타이틀

문제토탈

문제답개수

문제답

그리고 파일을 올릴려고 합니다. 도움이 될만한 소스 없을까요???


파일을 어떻게 올려야 하지요????

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
파표 xe버전업에 대해서 한가지 더 여쭙니다 [1] 2012.03.10 by 강하레
candyelf 게시판 하단의 ' 이게시물을 ~ ' [1] file 2012.03.10 by 강하레
보이스32 버그입니다. 1.5.1.11 최신버전의 데이타이동이안됩니다. [1] file 2012.03.10 by 강하레
파표 현재 xe1.4버전대를 이용중입니다.... [1] 2012.03.10 by 강하레
배워서남준다 외부페이지에 변수값 전달에 대해서 문의합니다. [1] 2012.03.10 by 카르마
007611 [송동우]님께 질문: 답글작성 시간 제한  
물결그리고 개인정보보호법에 문제가 되지 않나요? [1] 2012.03.10 by SCAC
forever5242 (꼭좀 답변부탁드립니다..) 이 페이지 나가기, 계속 있기 질문드려요.  
사랑은둘이서 관리자모드 회원리스트에서 최근가입자가 마지막 페이지에 나옵니다.  
보이스32 복사나 이동시에 확장변수는 복사 이동이 안되나요?  
몽키매직 서브메뉴 질문드립니다.  
사쿠냥ㅋ XE 자동로그인 기능이 먹통입니다  
건즈 메뉴를 펼친 채로 두려면 어떻게 해야 하나요?  
천재경 회원정보 보기에서의 포인트출력.... [3] 2012.03.10 by 천재경
이승규귝규귝규 Fatal error: Call to a member function getNextPage() on a non-object in /web/home/as8205/html/xe/classes/template/TemplateHandler.class.php(220) : eval()'d code on line 93라고 뜨는데.. ㅠㅠ [3] 2012.03.10 by 이승규귝규귝규
이승규귝규귝규 Fatal error: Call to a member function getNextPage() on a non-object in /web/home/as8205/html/xe/classes/template/TemplateHandler.class.php(220) : eval()'d code on line 93라고 뜨는데.. ㅠㅠ [2] 2012.03.10 by 이승규귝규귝규
이마루디자인 레이어 안에 게시판을 넣고, 스크롤을 다는데.. file  
color77 송동우님 답변 정말 감사합니다 새롭게 다시bodex 다운받아 해봤는데요.. [1] file 2012.03.10 by 송동우
푸른송 위젯코드 생성 시 위제 스타일 코드도 같이 생성은 할 수 없나요? [2] file 2012.03.10 by 푸른송
color77 송동우님 답변 감사했는데요 한번 더 봐주실래요 ㅜㅜ [3] file 2012.03.10 by 송동우