|
|
|
14년 전
|
조회 1,130
|
|
|
|
14년 전
|
조회 1,623
|
|
|
|
14년 전
|
조회 1,018
|
|
|
|
14년 전
|
조회 923
|
|
|
|
14년 전
|
조회 1,724
|
|
|
|
14년 전
|
조회 1,058
|
|
|
|
14년 전
|
조회 1,581
|
|
|
|
14년 전
|
조회 920
|
|
|
|
14년 전
|
조회 1,009
|
|
|
|
14년 전
|
조회 1,590
|
|
|
|
14년 전
|
조회 1,282
|
|
|
|
14년 전
|
조회 1,163
|
|
|
|
14년 전
|
조회 1,539
|
|
|
|
14년 전
|
조회 1,166
|
|
|
|
14년 전
|
조회 972
|
|
|
|
14년 전
|
조회 965
|
|
|
|
14년 전
|
조회 1,083
|
|
|
|
14년 전
|
조회 3,499
|
|
|
|
14년 전
|
조회 975
|
|
|
|
14년 전
|
조회 971
|
댓글 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>