최근게시물 출력에 확장필드가있는 경우 어떻게 출력시켜야하나요? 채택완료
출력하고자 하는 곳에
=latest("스킨명", "게시판 id", 출력갯수, 제목길이)?> 외에 추가한 확장필드의 내용을 추가 할 수는 없나요?
$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];
?>
이렇게 wr_1을 여러개로 나눠놓고 쓰고있는데요
답변 2개
latest.skin.php 파일에서 for 문 안쪽에 이 부분 넣고
$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_11 ?> 한번 넣어보세요.
그래도 안되면 이렇게도 해보시고.
http://sir.co.kr/qa/19850#answer_19873">http://sir.co.kr/qa/19850#answer_19873
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인