신고점추가매수

최근게시물에서 확장필드 추출 문제

게시판에 확장필드를

<?
$ex_filed = explode("|",$write[wr_5]);
$ext_00 = $ex_filed[0];
$ext_01 = $ex_filed[1];
$ext_02 = $ex_filed[2];
$ext_03 = $ex_filed[3];
$ext_04 = $ex_filed[4];
$ext_05 = $ex_filed[5];
$ext_06 = $ex_filed[6];
$ext_07 = $ex_filed[7];
$ext_08 = $ex_filed[8];
$ext_09 = $ex_filed[9];
$ext_10 = $ex_filed[10];
?>

이만큼이나 추가해서 별 무리없시 잘 사용하고 있습니다

그런데

여기서 잠시~

이렇게 추가한 확장 필드를 최근게시물에서 불러오고 싶을때는 어떻게 해야하나요~

으히히히 그누보드 알라븅~~~♡

댓글 1개

최신글의
<? for ($i=0; $i<count($list); $i++) { ?>
부분 아래에
위의 내용을 추가해 주시고

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

$ex_filed = explode("|",$list[$i][wr_5]);
$ext_00 = $ex_filed[0];
$ext_01 = $ex_filed[1];
$ext_02 = $ex_filed[2];
$ext_03 = $ex_filed[3];
$ext_04 = $ex_filed[4];
$ext_05 = $ex_filed[5];
$ext_06 = $ex_filed[6];
$ext_07 = $ex_filed[7];
$ext_08 = $ex_filed[8];
$ext_09 = $ex_filed[9];
$ext_10 = $ex_filed[10];
?>

나타낼 부분에
<?=$ext_00?>식으로 불러서 사용하세요
댓글을 작성하시려면 로그인이 필요합니다.

그누3질답

9,564건
+
제목 글쓴이 날짜 조회
05-02-05 조회 801
05-02-05 조회 718
05-02-05 조회 556
05-02-04 조회 561
이이인경
05-02-04 조회 475
05-02-04 조회 570
05-02-04 조회 659
05-02-04 조회 540
05-02-04 조회 554
05-02-04 조회 596
05-02-04 조회 781
05-02-03 조회 606
05-02-03 조회 854
05-02-03 조회 606
05-02-03 조회 709
05-02-03 조회 609
05-02-03 조회 551
05-02-03 조회 547
05-02-03 조회 497
05-02-03 조회 515