카테고리 가로로 뿌리기 질문이요

· 15년 전 · 1557
제가 사용중인게

<?
echo "<table width=100% cellpadding='0' cellspacing='0'>";

$arr = explode("|", $board[bo_category_list]); // 구분자가 , 로 되어 있음
$td = "5"; //가로칸수. 원하는 칸수만큼 지정해주면 됩니다.

$td_width = 100 / $td ; // <td width='%'>값
for ($i=0; $i<count($arr); $i++) {
if (($i == "0") || (($i >= $td) && ($i % $td == "0"))) { echo "<tr>"; }
echo "<td height='18' width='".$td_width."%'>";
if ($sca == $arr[$i]) { $bcoral = "<b style='font: 11px 돋움; font-weight:bold; color:777777; text-decoration:none; cursor:hand;'>"; } else { $bcoral = "<b style='font: 11px 돋움; color:777777; text-decoration:none; cursor:hand;'>"; }
echo "<a href='./board.php?bo_table=$bo_table&sca=$arr[$i]'>{$bcoral}{$arr[$i]}</a></td>";
}
echo "</tr></table>";
?>

입니다..

근데 전체보기를 첫칸에 추가 하고 싶은데 어떻게 해야하나요? 도와주세요!
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
15년 전 조회 1,131
15년 전 조회 1,546
15년 전 조회 1,667
15년 전 조회 1,550
15년 전 조회 1,736
15년 전 조회 1,546
15년 전 조회 1,412
15년 전 조회 1,619
15년 전 조회 1,544
15년 전 조회 1,558
15년 전 조회 1,033
15년 전 조회 1,720
15년 전 조회 3,522
15년 전 조회 1,262
15년 전 조회 1,325
15년 전 조회 1,093
15년 전 조회 1,610
15년 전 조회 1,812
15년 전 조회 1,590
15년 전 조회 1,663