회원가입시 휴대폰번호 배열 질문 드려요..
본문
<?php
// 배열
$tel = explode("-",$member['mb_hp']); // 휴대전화
?>
skin/member/basic/register_form.skin.php 에 위에 처럼 해주고,
<div class="row">
<?php if ($config['cf_use_hp'] || $config['cf_cert_hp']) { ?>
<div class="col-md-3 col-sm-4 col-xs-3">
<label class="list_title">휴대폰<?php if ($config['cf_req_hp']) { ?><strong class="sound_only">필수</strong><?php } ?><i class="fa fa-check text-danger" aria-hidden="true"></i></label>
</div>
<div class="col-md-9 col-sm-8 col-xs-9">
<div class="row" style="margin:0px;">
<div class="col-md-4 col-sm-4 col-xs-3" style="padding:0px;">
<select name="hp[0]" class="form-control ">
<?php for($i=0; $i < count($hp_arr); $i++) { ?>
<option value="<?php echo $hp_arr[$i];?>" <?php echo get_selected($hp_arr[$i], $hp[0]);?>>
<?php echo $hp_arr[$i];?>
</option>
<?php } ?>
</select>
</div>
<div class="col-md-8 col-sm-8 col-xs-9" style="padding:0px;">
<div class="input-group input-group-md">
<?php if ($config['cf_use_hp']) { ?>
<span class="input-group-addon" style="border-left:0px; border-right:0px;">-</span>
<input type="text" name="hp[1]" value="<?php echo $hp[1] ?>" class="form-control" maxlength="4">
<span class="input-group-addon" style="border-left:0px; border-right:0px;">-</span>
<input type="text" name="hp[2]" value="<?php echo $hp[2] ?>" class="form-control" maxlength="4">
<?php } ?>
</div>
</div>
</div>
</div>
<?php } ?>
이렇게 했는데, 업데이트가 안되네요.. 어쩌죠??? !-->!-->
답변을 작성하시기 전에 로그인 해주세요.