회원가입 시 휴대폰번호 추가작성

회원가입 시 휴대폰번호 추가작성

QA

회원가입 시 휴대폰번호 추가작성

답변 4

본문

안녕하세요..고수님들

무식한 질문 하나 드립니다.

회원가입 시 휴대폰번호를 추가로 작성해서 가져오고 싶은데요. 소스코드를 어떻게 넣으면 될까요?

 

[회원가입 스킨]

<h2>기본정보</h2>
        <ul>
            <li>
                <label for="reg_mb_id" class="sound_only">아이디<strong>필수</strong></label>
                <input type="text" name="mb_id" value="<?php echo $member['mb_id'] ?>" id="reg_mb_id" <?php echo $required ?> <?php echo $readonly ?> class="frm_input half_input <?php echo $required ?> <?php echo $readonly ?>" minlength="6" maxlength="20" placeholder="아이디">
                <span id="msg_mb_id"></span>
                <span class="frm_info">영문자, 숫자, _ 만 입력 가능. 최소 6자이상 입력하세요.</span>
            </li>
            <li>
                <label for="reg_mb_password" class="sound_only">비밀번호<strong class="sound_only">필수</strong></label>
                <input type="password" name="mb_password" id="reg_mb_password" <?php echo $required ?> class="frm_input half_input <?php echo $required ?>" minlength="6" maxlength="20" placeholder="비밀번호">

                <label for="reg_mb_password_re" class="sound_only">비밀번호 확인<strong>필수</strong></label>
                <input type="password" name="mb_password_re" id="reg_mb_password_re" <?php echo $required ?> class="frm_input half_input right_input <?php echo $required ?>" minlength="6" maxlength="20" placeholder="비밀번호 확인">
            </li>
            <li>
                <label for="reg_mb_name" class="sound_only">담당자명<strong class="sound_only">필수</strong></label>
                <input type="text" name="mb_name" value="<?php echo get_text($member['mb_name']) ?>" id="reg_mb_name" <?php echo $required ?> class="frm_input half_input <?php echo $required ?>" size="10" maxlength="20" placeholder="담당자이름">

                <label for="reg_mb_tel" class="sound_only">담당자전화번호<strong>필수</strong></label>
                <input type="text" name="mb_tel" id="reg_mb_tel" value="<?php echo get_text($member['mb_tel']) ?>" <?php echo $required ?> class="frm_input half_input right_input <?php echo $required ?>" maxlength="20" placeholder="담당자번호번호">
            </li>
            <li>
                <label for="reg_mb_email" class="sound_only">담당자이메일<strong>필수</strong></label>
                <input type="text" name="mb_email" value="<?php echo $member['mb_email'] ?>" id="reg_mb_email" <?php echo $required ?> class="frm_input half_input <?php echo $required ?>" minlength="3" maxlength="100" placeholder="담당자이메일">
                <span id="msg_mb_id"></span>
            </li>
        </ul>
    </div>

 

 

 

이 질문에 댓글 쓰기 :

답변 4

관리자에서 휴대폰번호 입력받도록 체크하는부분이 있을거에요

 

해당부분 한번 찾아보세요

답변 감사합니다..

위 스킨은 별도로 만든 스킨이라 적용이 안 되는 것 같습니다.

 

아래 빨간색 글씨를 추가로 넣었는데 관리자페이지에서 정보를 가져오지 못하네요.

뭐가 잘못 되었을까요?

 

    <div>
        <h2>기본정보</h2>
        <ul>
            <li>
                <label for="reg_mb_id" class="sound_only">아이디<strong>필수</strong></label>
                <input type="text" name="mb_id" value="<?php echo $member['mb_id'] ?>" id="reg_mb_id" <?php echo $required ?> <?php echo $readonly ?> class="frm_input half_input <?php echo $required ?> <?php echo $readonly ?>" minlength="6" maxlength="20" placeholder="아이디">
                <span id="msg_mb_id"></span>
                <span class="frm_info">영문자, 숫자, _ 만 입력 가능. 최소 6자이상 입력하세요.</span>
            </li>
            <li>
                <label for="reg_mb_password" class="sound_only">비밀번호<strong class="sound_only">필수</strong></label>
                <input type="password" name="mb_password" id="reg_mb_password" <?php echo $required ?> class="frm_input half_input <?php echo $required ?>" minlength="6" maxlength="20" placeholder="비밀번호">

                <label for="reg_mb_password_re" class="sound_only">비밀번호 확인<strong>필수</strong></label>
                <input type="password" name="mb_password_re" id="reg_mb_password_re" <?php echo $required ?> class="frm_input half_input right_input <?php echo $required ?>" minlength="6" maxlength="20" placeholder="비밀번호 확인">
            </li>
            <li>
                <label for="reg_mb_name" class="sound_only">담당자명<strong class="sound_only">필수</strong></label>
                <input type="text" name="mb_name" value="<?php echo get_text($member['mb_name']) ?>" id="reg_mb_name" <?php echo $required ?> class="frm_input half_input <?php echo $required ?>" size="10" maxlength="20" placeholder="담당자이름">

                <label for="reg_mb_tel" class="sound_only">담당자전화번호<strong>필수</strong></label>
                <input type="text" name="mb_tel" id="reg_mb_tel" value="<?php echo get_text($member['mb_tel']) ?>" <?php echo $required ?> class="frm_input half_input right_input <?php echo $required ?>" maxlength="20" placeholder="담당자번호번호">
            </li>
            <li>
                <label for="reg_mb_email" class="sound_only">담당자이메일<strong>필수</strong></label>
                <input type="text" name="mb_email" value="<?php echo $member['mb_email'] ?>" id="reg_mb_email" <?php echo $required ?> class="frm_input half_input <?php echo $required ?>" minlength="3" maxlength="100" placeholder="담당자이메일">
                <span id="msg_mb_id"></span>

                <label for="reg_mb_hp" class="sound_only">휴대폰번호<strong>필수</strong></label>
                <input type="text" name="mb_hp" id="reg_mb_hp" value="<?php echo get_text($member['mb_hp']) ?>" <?php echo $required ?> class="frm_input half_input right_input <?php echo $required ?>" maxlength="20" placeholder="휴대폰번호">

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 674
© SIRSOFT
현재 페이지 제일 처음으로