테스트 사이트 - 개발 중인 베타 버전입니다

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

· 13년 전 · 1006 · 3
게시판 리스트에서는
<?=$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++) { ?>

// 요기 //

<? } ?>

게시글 목록

번호 제목
284348
284336
284333
284332
284320
284318
284316
284313
284307
284306
284303
284298
284296
284290
284286
284280
284277
284272
284261
284259