폼메일(푸메일) 문제인데요.. 정보
폼메일(푸메일) 문제인데요..본문
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=47084
여기있는 푸메일을 이용하는데요..
작성해서 메일을 보내면
일반전화(지역번호) 031
일반전화(국번) 2342
일반전화(번호) 5252
휴대전화(통신사) *** 개인정보보호를 위한 휴대폰번호 노출방지 ***
zip1 407
zip2 713
address1 인천 계양구 작전서운동 도두리마을대동아파트
address2 2301 동광빌라 2-401호
이런식으로 다 떨어져서 표시가 됩니다.
메일을 표시하는 부분은
<? for($i=0;$i<count($arrkey);$i++){ ?>
<tr>
<td><?=$arrkey[$i]?></td>
<td><?echo str_replace("\n","<br>",stripslashes($arrval[$i]));?></td>
</tr>
<?}?>
이거같구요..
어떤식으로 수정을 해야될지...
작성란은
<tr>
<td><span class="style2">일반전화</span></td>
<td>
<span class="style2">
<select name='일반전화(지역번호)'>
<option value=''>-전화-</option>
<?
for($a=0;$a<count($phone_array);$a++){
echo "<option value='$phone_array[$a]'>$phone_array[$a]</option>";
}
?>
</select>
<input type='text' name='일반전화(국번)' size='4' maxlength='4' numeric>
-
<input type='text' name='일반전화(번호)' size='4' maxlength='4' numeric>
</span></td>
<td><span class="style2">휴대전화</span></td>
<td>
<span class="style2">
<select name='휴대전화(통신사)'>
<option value=''>-휴대폰-</option>
<?
for($m=0;$m<count($mobile_array);$m++){
echo "<option value='$mobile_array[$m]'>$mobile_array[$m]</option>";
}
?>
</select>
<input type='text' name='휴대전화(국번)' size='4' maxlength='4' numeric>
-
<input type='text' name='휴대전화(번호)' size='4' maxlength='4' numeric>
</span></td>
</tr>
<tr>
<td><span class="style2">주소</span></td>
<td colspan=3>
<span class="style2">
<input type=text name='zip1' size=4 maxlength=3 readonly value='<?=$zip1?>'>
-
<input type=text name='zip2' size=4 maxlength=3 readonly value='<?=$zip2?>'>
<img src="images/post_search_btn.gif" onclick="win_zip('fumail', 'zip1', 'zip2', 'address1', 'address2');" style=cursor:hand><br>
<input type=text name='address1' size=50 readonly value='<?=$address1?>'>
<br>
상세 주소
<input type=text name='address2' size=41>
</span></td>
</tr>
이런식으로 되어 있습니다. 조언주시면 감사하겠습니다.
여기있는 푸메일을 이용하는데요..
작성해서 메일을 보내면
일반전화(지역번호) 031
일반전화(국번) 2342
일반전화(번호) 5252
휴대전화(통신사) *** 개인정보보호를 위한 휴대폰번호 노출방지 ***
zip1 407
zip2 713
address1 인천 계양구 작전서운동 도두리마을대동아파트
address2 2301 동광빌라 2-401호
이런식으로 다 떨어져서 표시가 됩니다.
메일을 표시하는 부분은
<? for($i=0;$i<count($arrkey);$i++){ ?>
<tr>
<td><?=$arrkey[$i]?></td>
<td><?echo str_replace("\n","<br>",stripslashes($arrval[$i]));?></td>
</tr>
<?}?>
이거같구요..
어떤식으로 수정을 해야될지...
작성란은
<tr>
<td><span class="style2">일반전화</span></td>
<td>
<span class="style2">
<select name='일반전화(지역번호)'>
<option value=''>-전화-</option>
<?
for($a=0;$a<count($phone_array);$a++){
echo "<option value='$phone_array[$a]'>$phone_array[$a]</option>";
}
?>
</select>
<input type='text' name='일반전화(국번)' size='4' maxlength='4' numeric>
-
<input type='text' name='일반전화(번호)' size='4' maxlength='4' numeric>
</span></td>
<td><span class="style2">휴대전화</span></td>
<td>
<span class="style2">
<select name='휴대전화(통신사)'>
<option value=''>-휴대폰-</option>
<?
for($m=0;$m<count($mobile_array);$m++){
echo "<option value='$mobile_array[$m]'>$mobile_array[$m]</option>";
}
?>
</select>
<input type='text' name='휴대전화(국번)' size='4' maxlength='4' numeric>
-
<input type='text' name='휴대전화(번호)' size='4' maxlength='4' numeric>
</span></td>
</tr>
<tr>
<td><span class="style2">주소</span></td>
<td colspan=3>
<span class="style2">
<input type=text name='zip1' size=4 maxlength=3 readonly value='<?=$zip1?>'>
-
<input type=text name='zip2' size=4 maxlength=3 readonly value='<?=$zip2?>'>
<img src="images/post_search_btn.gif" onclick="win_zip('fumail', 'zip1', 'zip2', 'address1', 'address2');" style=cursor:hand><br>
<input type=text name='address1' size=50 readonly value='<?=$address1?>'>
<br>
상세 주소
<input type=text name='address2' size=41>
</span></td>
</tr>
이런식으로 되어 있습니다. 조언주시면 감사하겠습니다.
댓글 전체