이것좀 봐주세요 ㅠㅠ 정보
이것좀 봐주세요 ㅠㅠ본문
<input type="hidden" size="4" name=tmp_00 itemname="우편번호 앞자리" readonly value="<?=$tmp_00?>" required>
<input type="hidden" size="4" name=tmp_01 itemname="우편번호 뒷자리" readonly value="<?=$tmp_01?>" required>
<input type="hidden" class="field" size="41" name=wr_2 id="wr_2" itemname="주소" value="<?=$four15?> <?=$four04?>" >
<input class="field" size="41" name=four15 id="four15" itemname="나머지주소주소" value="<?=$four15?>" required>
<a href="javascript:;" onclick="win_zip('fwrite', 'tmp_00', 'tmp_01', 'four15', 'four15');"><img src="<?=$board_skin_path?>/img/addrsearch.gif" border=0 align="absmiddle"></a>
<div style="margin-top:3px;"><input class="field" size="50" name=four04 id="four04" itemname="나머지주소주소" value="<?=$four04?>" required></div>
출력되는 주소부분을 숨기고
우편번호로 주소를 가지고와서 four15에 저장시키고 four04에 나머지주소를 쓰고
이값을 wr_2값에 넣으려고합니다.
위 소스와 같이 넣으려고하니깐 wr_2값을 인식을 못해서 출력을 안하구 수정해서 글을 다시써야지 출력을 하네요. 수정안하고 글쓰기 하면 바로 출력하게끔 하려면
소스를 어떻게 수정해야될까요?ㅠㅠ
두서없이 작성해서 제대로 전달되었는지 잘모르겠네요 ㅠㅠ
도와주세요 ㅠㅠ
<input type="hidden" size="4" name=tmp_01 itemname="우편번호 뒷자리" readonly value="<?=$tmp_01?>" required>
<input type="hidden" class="field" size="41" name=wr_2 id="wr_2" itemname="주소" value="<?=$four15?> <?=$four04?>" >
<input class="field" size="41" name=four15 id="four15" itemname="나머지주소주소" value="<?=$four15?>" required>
<a href="javascript:;" onclick="win_zip('fwrite', 'tmp_00', 'tmp_01', 'four15', 'four15');"><img src="<?=$board_skin_path?>/img/addrsearch.gif" border=0 align="absmiddle"></a>
<div style="margin-top:3px;"><input class="field" size="50" name=four04 id="four04" itemname="나머지주소주소" value="<?=$four04?>" required></div>
출력되는 주소부분을 숨기고
우편번호로 주소를 가지고와서 four15에 저장시키고 four04에 나머지주소를 쓰고
이값을 wr_2값에 넣으려고합니다.
위 소스와 같이 넣으려고하니깐 wr_2값을 인식을 못해서 출력을 안하구 수정해서 글을 다시써야지 출력을 하네요. 수정안하고 글쓰기 하면 바로 출력하게끔 하려면
소스를 어떻게 수정해야될까요?ㅠㅠ
두서없이 작성해서 제대로 전달되었는지 잘모르겠네요 ㅠㅠ
도와주세요 ㅠㅠ
댓글 전체
write_update.head.skin.php 에 아래 소스 넣고 스킨폴더에 저장 (없으면 만들어서)
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 자신만의 코드를 넣어주세요.
if($tmp_00 && $tmp_01 && $four15 && $four04){
$wr_2=$four15.$four04;
} else {
alert('주소 입력을 제대로 해주세요');
}
?>
-------------------------
위에처럼 한번 해보세요
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 자신만의 코드를 넣어주세요.
if($tmp_00 && $tmp_01 && $four15 && $four04){
$wr_2=$four15.$four04;
} else {
alert('주소 입력을 제대로 해주세요');
}
?>
-------------------------
위에처럼 한번 해보세요
이렇게해도 안되네요 ㅠㅠ
여전히 수정을 해야지 되네요
여전히 수정을 해야지 되네요