초보입니다 리스트에 출력 시킬 부분이 있는데 잘 않되네요 > 그누4 질문답변

그누4 질문답변

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

초보입니다 리스트에 출력 시킬 부분이 있는데 잘 않되네요 정보

초보입니다 리스트에 출력 시킬 부분이 있는데 잘 않되네요

본문

아래는 write.skin.php의 내용중의 일부입니다

$ex9_filed = explode("|",$write[wr_9]);
$ext9_00  = $ex9_filed[0];
$ext9_01  = $ex9_filed[1];
$ext9_02  = $ex9_filed[2];
$ext9_03  = $ex9_filed[3];
$ext9_04  = $ex9_filed[4];
$ext9_05  = $ex9_filed[5];
$ext9_06  = $ex9_filed[6];
$ext9_07  = $ex9_filed[7];
$ext9_08  = $ex9_filed[8];
$ext9_09  = $ex9_filed[9];
$ext9_10  = $ex9_filed[10];
$ext9_11  = $ex9_filed[11];
$ext9_12  = $ex9_filed[12];
$ext9_13  = $ex9_filed[13];

위의 배열중에서 $ext9_03  = $ex9_filed[3]; ,  $ext9_04  = $ex9_filed[4]; 두개를
리스트에 출력하고 싶은데요 아래에 ]}!!!!!!!!!!!!!!!!!여기에 나란히 출력되게!!!!!!!!!!!!!!!!!!!! 부분에 너어서 출력하고 싶습니다 어떻게 해야 될까요 책을 봐도 통 이해가 가질 않아서 3일째 헤메다 이곳에 글 남겨 봅니다

        <td class="subject">
            <?
            echo $nobr_begin;
            echo $list[$i][reply];
            echo $list[$i][icon_reply];
            if ($is_category && $list[$i][ca_name]) {
                echo "<span class=small><font color=gray>[<a href='{$list[$i][ca_name_href]}'>{$list[$i][ca_name]}</a>]</font></span> ";
            }

            if ($list[$i][is_notice])
                echo "<a href='{$list[$i][href]}'><span class='notice'>{$list[$i][subject]}</span></a>";
            else
                echo "<a href='{$list[$i][href]}'>{$list[$i][subject]}!!!!!!!!!!!!!!!!!여기에 나란히 출력되게!!!!!!!!!!!!!!!!!!!!</a>";

          //  if ($list[$i][comment_cnt])
            //    echo " <a href=\"{$list[$i][comment_href]}\"><span class='comment'>{$list[$i][comment_cnt]}</span></a>";

            // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
            // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

            echo " " . $list[$i][icon_new];
            echo " " . $list[$i][icon_file];
            echo " " . $list[$i][icon_link];
            echo " " . $list[$i][icon_hot];
            echo " " . $list[$i][icon_secret];
            echo $nobr_end;
            ?>
        </td>
  • 복사

댓글 전체

$ex9_filed = explode("|",$list[$i][wr_9]); //여기에선언후

            if ($list[$i][is_notice])
                echo "<a href='{$list[$i][href]}'><span class='notice'>{$list[$i][subject]}</span></a>";
            else
                echo "<a href='{$list[$i][href]}'>{$list[$i][subject]}{$ex9_filed[3]}{$ex9_filed[4]}</a>";

이렇게 하면됩니다.
© SIRSOFT
현재 페이지 제일 처음으로