필드추가하였는데 질문이 있습니다.

안녕하세요!
 
아래와 같이 필드를 추가하였습니다.
 
 
<?
$ex2_filed = explode("|",$write[wr_1]);
$ext2_00  = $ex2_filed[0];
$ext2_01  = $ex2_filed[1];
$ext2_02  = $ex2_filed[2];
$ext2_03  = $ex2_filed[3];
$ext2_04  = $ex2_filed[4];
$ext2_05  = $ex2_filed[5];
$ext2_06  = $ex2_filed[6];
$ext2_07  = $ex2_filed[7];
$ext2_08  = $ex2_filed[8];
$ext2_09  = $ex2_filed[9];
$ex3_filed = explode("|",$write[wr_2]);
$ext3_00  = $ex3_filed[0];
$ext3_01  = $ex3_filed[1];
$ext3_02  = $ex3_filed[2];
$ext3_03  = $ex3_filed[3];
$ext3_04  = $ex3_filed[4];
$ext3_05  = $ex3_filed[5];
$ext3_06  = $ex3_filed[6];
$ext3_07  = $ex3_filed[7];
$ext3_08  = $ex3_filed[8];
$ext3_09  = $ex3_filed[9];
?>
 
 
 
view.skin.php 파일에서 예: ext2_07변수에 전화번호 라면 <?=$ext2_07?> 이렇게 하면
 
전화번호가 뜹니다만,,그런데 list.skin.php 파일에서는 직접<?=$ext2_07?> 이렇게 넣으면
 
전화번호가 나오지 않습니다.어디가 잘못 되였습니까?
 
 
고수님들 도와주세요.
 
수고하세요.
|

댓글 2개

$ex2_filed = explode("|",$write[wr_1]);

==> 반복문 아래에다가 넣어 주셔야죠...

$ex2_filed = explode("|",$list[$i][wr_1]); 식으로...
감사합니다.

천상재회님

덕분에 해결했습니다.

좋은 저녁!~
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
19년 전 조회 1,571
19년 전 조회 1,391
19년 전 조회 1,593
19년 전 조회 1,394
19년 전 조회 1,593
19년 전 조회 1,699
19년 전 조회 3,236
19년 전 조회 2,653
19년 전 조회 1,932
19년 전 조회 1,513
19년 전 조회 1,596
19년 전 조회 1,560
19년 전 조회 1,424
19년 전 조회 2,291
19년 전 조회 1,094
19년 전 조회 1,520
19년 전 조회 1,513
19년 전 조회 1,556
19년 전 조회 1,510
19년 전 조회 1,551
🐛 버그신고