여분필드 wr_8을 가지고 쓸때는 3개 출력은 합처서 하는 방법없나요?
안녕하세요.
여분 빌드 wr_8을 가지고 입력받는을 때는
<input style="width:350;" name=wr_8 itemname="사업자등록번호1" value="<?=$write[wr_8]?>">-
<input style="width:350;" name=wr_8 itemname="사업자등록번호2" value="<?=$write[wr_8]?>">-
<input style="width:350;" name=wr_8 itemname="사업자등록번호3" value="<?=$write[wr_8]?>">
이런식으로 받아서 출력할때는 아래와 같이 보이도록 하고 싶습니다.
방법좀 알려주세요..
사업자등록번호1 - 사업자등록번호2 - 사업자등록번호3
방법이 없을까요??
<tr>
<td class=write_head>사업자등록번호</td>
<td colspan="3"><input style="width:350;" name=wr_8 itemname="사업자등록번호" value="<?=$write[wr_8]?>"></td></tr>
<tr><td colspan=4 height=1 bgcolor=#e7e7e7></td></tr>
여분 빌드 wr_8을 가지고 입력받는을 때는
<input style="width:350;" name=wr_8 itemname="사업자등록번호1" value="<?=$write[wr_8]?>">-
<input style="width:350;" name=wr_8 itemname="사업자등록번호2" value="<?=$write[wr_8]?>">-
<input style="width:350;" name=wr_8 itemname="사업자등록번호3" value="<?=$write[wr_8]?>">
이런식으로 받아서 출력할때는 아래와 같이 보이도록 하고 싶습니다.
방법좀 알려주세요..
사업자등록번호1 - 사업자등록번호2 - 사업자등록번호3
방법이 없을까요??
<tr>
<td class=write_head>사업자등록번호</td>
<td colspan="3"><input style="width:350;" name=wr_8 itemname="사업자등록번호" value="<?=$write[wr_8]?>"></td></tr>
<tr><td colspan=4 height=1 bgcolor=#e7e7e7></td></tr>
댓글 3개
14년 전
write.skin.php
상단에
$biz_no = explode("-",$write[wr_8]);
$biz_00 = $biz_no [0];
$biz_01 = $biz_no [1];
$biz_02 = $biz_no [2];
하시고,
입력받을 위치에..
<input style="width:50;" name=biz_00 itemname="사업자등록번호1" value="<?=$biz_00?>">-
<input style="width:50;" name=biz_01 itemname="사업자등록번호2" value="<?=$biz_01?>">-
<input style="width:50;" name=biz_02 itemname="사업자등록번호3" value="<?=$biz_02?>">
하십니다.
그리고... write_update.skin.php 파일을 열어서
$wr_8 = "$biz_00-$biz_01-$biz_02";
$sql = " update $write_table set wr_8 = '$wr_8' where wr_id = '$wr_id' ";
sql_query($sql);
하십니다.
상단에
$biz_no = explode("-",$write[wr_8]);
$biz_00 = $biz_no [0];
$biz_01 = $biz_no [1];
$biz_02 = $biz_no [2];
하시고,
입력받을 위치에..
<input style="width:50;" name=biz_00 itemname="사업자등록번호1" value="<?=$biz_00?>">-
<input style="width:50;" name=biz_01 itemname="사업자등록번호2" value="<?=$biz_01?>">-
<input style="width:50;" name=biz_02 itemname="사업자등록번호3" value="<?=$biz_02?>">
하십니다.
그리고... write_update.skin.php 파일을 열어서
$wr_8 = "$biz_00-$biz_01-$biz_02";
$sql = " update $write_table set wr_8 = '$wr_8' where wr_id = '$wr_id' ";
sql_query($sql);
하십니다.
14년 전
퍼플로즈님 감사합니다.
14년 전
여분필드 구분 자 좋아요~~ 스크랩합니당
게시판 목록
그누4 질문답변
그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.
기존 게시물은 열람만 가능합니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 66554 | 11년 전 | 17733 | ||
| 66553 | 11년 전 | 12554 | ||
| 66552 |
alexseo
|
11년 전 | 10188 | |
| 66551 | 11년 전 | 10925 | ||
| 66550 | 11년 전 | 10496 | ||
| 66549 | 11년 전 | 11846 | ||
| 66548 | 11년 전 | 15029 | ||
| 66547 |
스타크루즈
|
11년 전 | 11493 | |
| 66546 |
kimch
|
11년 전 | 11599 | |
| 66545 | 11년 전 | 11423 | ||
| 66544 | 11년 전 | 12271 | ||
| 66543 |
별을기다리며
|
11년 전 | 14432 | |
| 66542 |
별을기다리며
|
11년 전 | 11924 | |
| 66541 | 11년 전 | 9692 | ||
| 66540 | 11년 전 | 10566 | ||
| 66539 | 11년 전 | 16399 | ||
| 66538 | 11년 전 | 10451 | ||
| 66537 | 11년 전 | 9134 | ||
| 66536 | 11년 전 | 10574 | ||
| 66535 |
alexseo
|
11년 전 | 5590 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기