|
|
|
14년 전
|
조회 1,106
|
|
|
|
14년 전
|
조회 1,591
|
|
|
|
14년 전
|
조회 992
|
|
|
|
14년 전
|
조회 895
|
|
|
|
14년 전
|
조회 1,697
|
|
|
|
14년 전
|
조회 1,036
|
|
|
|
14년 전
|
조회 1,553
|
|
|
|
14년 전
|
조회 888
|
|
|
|
14년 전
|
조회 988
|
|
|
|
14년 전
|
조회 1,564
|
|
|
|
14년 전
|
조회 1,257
|
|
|
|
14년 전
|
조회 1,136
|
|
|
|
14년 전
|
조회 1,519
|
|
|
|
14년 전
|
조회 1,146
|
|
|
|
14년 전
|
조회 947
|
|
|
|
14년 전
|
조회 941
|
|
|
|
14년 전
|
조회 1,057
|
|
|
|
14년 전
|
조회 3,464
|
|
|
|
14년 전
|
조회 949
|
|
|
|
14년 전
|
조회 945
|
댓글 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>