최근게시물에서 확장필드 추출 문제 > 그누3질답

그누3질답

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

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

본문

게시판에 확장필드를

<?
$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];
?>

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

그런데

여기서 잠시~

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

으히히히 그누보드 알라븅~~~♡
  • 복사

댓글 전체

최신글의
<?  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?>식으로 불러서 사용하세요
© SIRSOFT
현재 페이지 제일 처음으로