카텝고리 탭에서 전체가 아래로 가있고 탭목록에서 전체가 표시되는 기이한 현상 ㅠ.ㅠ

<? if ($is_category) { ?>
<? if (!$wr_id) { ?>
<?
$cnt = 1;
$arr = explode("|", $board[bo_category_list]); // 구분자가 , 로 되어 있음
$str = " <span style='font-family: Tahoma; font-size:10px; color:#D2D2D2;'>|</span> ";
$str .= "<select onchange=\"location.href='./board.php?bo_table=$bo_table&sca='+this.options[this.selectedIndex].value\">";
for ($i=0; $i<count($arr); $i++)
if (trim($arr[$i])) {
$selected = "";
if ($sca == $arr[$i]) { $selected ="selected";}
$str .= "<option value='".urlencode($arr[$i])."' $selected>". $arr[$i] ."</option>";
$cnt++;
}
$str .= "<option value=''>전체</option></select>";
<?=$str?>
<? } ?>
<? } ?>
</div>
답변 2개 / 댓글 1개
$str .= "<select onchange=\"location.href='./board.php?bo_table=$bo_table&sca='+this.options[this.selectedIndex].value\">";
$str .= "<option value=''>전체</option>";
for ($i=0; $i<count($arr); $i++)
if (trim($arr[$i])) {
$selected = "";
if ($sca == $arr[$i]) { $selected ="selected";}
$str .= "<option value='".urlencode($arr[$i])."' $selected>". $arr[$i] ."</option>";
$cnt++;
}
$str.="<select>";
<?=$str?>
답변에 대한 댓글 1개
많은 도움이 되었습니다. 감사합니다.
답변을 작성하려면 로그인이 필요합니다.