b

여분필드를 쪼개서 넣었는데 최신글에서 보여지게 하려면?

게시판 리스트에서는
<?=$ext2_02?>해서 보여졌는데 최신글에서는 안보여지네요..


latest.skin.php 페이지에서 어떻게 수정해야지요?


:::::::::::::::::: latest.skin.php ::::::::::::::::::::::::::::::
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<?
$ex1_filed = explode("|",$list[$i][wr_1]);
$ext1_00 = $ex1_filed[0];
$ext1_01 = $ex1_filed[1];
$ext1_02 = $ex1_filed[2];
$ext1_03 = $ex1_filed[3];
$ext1_04 = $ex1_filed[4];
$ext1_05 = $ex1_filed[5];
?>


<?=$list[$i][ext2_02]?> <- 이렇게 해도 안나오고
<?=$ext2_02?> <- 이렇게 해도 안나오고..

게시판 리스트에서 나오던디...

도와주세요~

댓글 3개

쪼갠필드명에 $ext2_02 가 없네요.

<?
$ex1_filed = explode("|",$list[$i][wr_1]);
$ext1_00 = $ex1_filed[0];
$ext1_01 = $ex1_filed[1];
$ext1_02 = $ex1_filed[2];
$ext1_03 = $ex1_filed[3];
$ext1_04 = $ex1_filed[4];
$ext1_05 = $ex1_filed[5];
?>
가 아니고

리스트 파일에 보면
$ext2_02 가 포함된 필드가 있을텐데
그 필드를 넣어보세요.

예
$ex2_filed = explode("|",$list[$i][wr_2]);
$ext2_00 = $ex2_filed[0];
$ext2_01 = $ex2_filed[1];
$ext2_02 = $ex2_filed[2];
...
아 너무 길어서..안 적은건데...
<?
$ex2_filed = explode("|",$list[$i][wr_]);
$ext1_00 = $ex1_filed[0];
$ext1_01 = $ex1_filed[1];
$ext1_02 = $ex1_filed[2];
~
$ext3_08 = $ex3_filed[8];
$ext3_09 = $ex3_filed[9];
?>
다 적었는데..안나와서요..
latest.skin.php 파일
for 문 안에 소스 넣었나요..?

<? for ($i=0; $i<count($list); $i++) { ?>

// 요기 //

<? } ?>
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
12-06-15 조회 1,047
12-06-15 조회 1,690
12-06-15 조회 1,098
12-06-15 조회 829
12-06-14 조회 888
12-06-14 조회 937
12-06-14 조회 1,672
12-06-14 조회 1,064
12-06-14 조회 1,211
12-06-14 조회 2,677
12-06-14 조회 1,820
12-06-14 조회 1,439
12-06-14 조회 1,208
12-06-14 조회 1,694
12-06-14 조회 2,364
12-06-14 조회 923
12-06-14 조회 903
12-06-14 조회 1,102
12-06-14 조회 1,728
12-06-14 조회 1,058