|
|
|
14년 전
|
조회 1,124
|
|
|
|
14년 전
|
조회 1,620
|
|
|
|
14년 전
|
조회 1,015
|
|
|
|
14년 전
|
조회 918
|
|
|
|
14년 전
|
조회 1,718
|
|
|
|
14년 전
|
조회 1,053
|
|
|
|
14년 전
|
조회 1,579
|
|
|
|
14년 전
|
조회 916
|
|
|
|
14년 전
|
조회 1,008
|
|
|
|
14년 전
|
조회 1,586
|
|
|
|
14년 전
|
조회 1,280
|
|
|
|
14년 전
|
조회 1,158
|
|
|
|
14년 전
|
조회 1,536
|
|
|
|
14년 전
|
조회 1,164
|
|
|
|
14년 전
|
조회 968
|
|
|
|
14년 전
|
조회 960
|
|
|
|
14년 전
|
조회 1,074
|
|
|
|
14년 전
|
조회 3,495
|
|
|
|
14년 전
|
조회 970
|
|
|
|
14년 전
|
조회 969
|
댓글 2개
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&sca=%EA%B0%A4%EB%9F%AC%EB%A6%AC
또는
<table width="200" border="1" cellspacing="0" cellpadding="0">
<tr>
<?
// 2셀만 출력. 다음 셀로 자동 변경.
$mod = "2";
// 돌리고 돌리고~
for ($i=0; $i<20; $i++) {
if ($i && $i%$mod == '0') {
echo "</tr>\n<tr>\n";
}
echo "<td width='50'>{$i}</td>\n";
}
// 나머지 셀을 채운다.
$cnt = $i%$mod;
if ($cnt) {
for ($i=$cnt; $i<$mod; $i++) {
echo "<td width='50'>공백</td>\n";
}
}
?>
</tr>
</table>