최근게시물..
index.php소스 보면 아래처럼 하면 최근게시물이 추출되는데요..
한개는데는데 다른 거는 어떻게 추가합니까 최근게시물 아무리 해도 안되네요..
하나는 테이블이 akjsk이고 다른한개는 kkk인데 두개다 뽑고 싶은데 하나박에 안데네요..
<?=title_bar("NEW", "100%")?>
<table width=300 border=0 cellpadding=1 cellspacing=0 style="border-width:1; border-color:999999; border-style:solid;" align=center>
<tr>
<td>
<?
$sql = " select * from $cfg[table_board] order by bo_table ";
$bo = sql_fetch_array($sql);
latest('', $bo[bo_table], 10, 40);
?>
</td>
</tr>
</table>
<!-- 최신글 끝 --></td></tr>
한개는데는데 다른 거는 어떻게 추가합니까 최근게시물 아무리 해도 안되네요..
하나는 테이블이 akjsk이고 다른한개는 kkk인데 두개다 뽑고 싶은데 하나박에 안데네요..
<?=title_bar("NEW", "100%")?>
<table width=300 border=0 cellpadding=1 cellspacing=0 style="border-width:1; border-color:999999; border-style:solid;" align=center>
<tr>
<td>
<?
$sql = " select * from $cfg[table_board] order by bo_table ";
$bo = sql_fetch_array($sql);
latest('', $bo[bo_table], 10, 40);
?>
</td>
</tr>
</table>
<!-- 최신글 끝 --></td></tr>
댓글 4개
22년 전
안되네요.. 고맙습니다. 저때문에...
다른 방법은 업나요...
수고하십시요..
다른 방법은 업나요...
수고하십시요..
22년 전
latest('', $bo[bo_table], 10, 40); 를 latest(kkk, 10, 40); 해보세요.
제꺼는 원본이 latest($bo[bo_table], 10, 40); 이렇게 생겼던데...
이래도 안되면 제가 아는게 없어서 ........^^;
근데 제꺼는 잘되거든요........ 그럼 이만..
제꺼는 원본이 latest($bo[bo_table], 10, 40); 이렇게 생겼던데...
이래도 안되면 제가 아는게 없어서 ........^^;
근데 제꺼는 잘되거든요........ 그럼 이만..
22년 전
안데는 데요..
아래와 같은 에러가 뜹니다..
Warning: latest(./board/skin/latest/akjsk/latest_head.skin.php) [function.latest]: failed to create stream: No such file or directory in /free/home/akjsk1343/html/board/lib.inc.php on line 851
Fatal error: latest() [function.latest]: Failed opening required './board/skin/latest/akjsk/latest_head.skin.php' (include_path='.:/usr/local/lib/php') in /free/home/akjsk1343/html/board/lib.inc.php on line 851
아래와 같은 에러가 뜹니다..
Warning: latest(./board/skin/latest/akjsk/latest_head.skin.php) [function.latest]: failed to create stream: No such file or directory in /free/home/akjsk1343/html/board/lib.inc.php on line 851
Fatal error: latest() [function.latest]: Failed opening required './board/skin/latest/akjsk/latest_head.skin.php' (include_path='.:/usr/local/lib/php') in /free/home/akjsk1343/html/board/lib.inc.php on line 851
22년 전
안녕하세요..저도 잘은 모르는데 이곳에 이렇게 해보시면 될겁니다.
그럼 이만
<!-- 최신글 시작 -->
<table width=100% border=0 cellpadding=1 cellspacing=0 class=tablebg>
<tr>
<td>
<?
$sql = " select * from $cfg[table_board] order by bo_table ";
$bo = sql_fetch_array($sql);
latest(akjsk, 10, 40);
?>
</td>
</tr>
</table>
<!-- 최신글 끝 -->
<!-- 최신글 시작 -->
<table width=100% border=0 cellpadding=1 cellspacing=0 class=tablebg>
<tr>
<td>
<?
$sql = " select * from $cfg[table_board] order by bo_table ";
$bo = sql_fetch_array($sql);
latest(kkk, 10, 40);
?>
</td>
</tr>
</table>
<!-- 최신글 끝 -->
그럼 이만
<!-- 최신글 시작 -->
<table width=100% border=0 cellpadding=1 cellspacing=0 class=tablebg>
<tr>
<td>
<?
$sql = " select * from $cfg[table_board] order by bo_table ";
$bo = sql_fetch_array($sql);
latest(akjsk, 10, 40);
?>
</td>
</tr>
</table>
<!-- 최신글 끝 -->
<!-- 최신글 시작 -->
<table width=100% border=0 cellpadding=1 cellspacing=0 class=tablebg>
<tr>
<td>
<?
$sql = " select * from $cfg[table_board] order by bo_table ";
$bo = sql_fetch_array($sql);
latest(kkk, 10, 40);
?>
</td>
</tr>
</table>
<!-- 최신글 끝 -->
게시판 목록
그누3질답
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 공지 | 15년 전 | 7795 | ||
| 563 | 22년 전 | 1165 | ||
| 562 | 22년 전 | 2058 | ||
| 561 |
nmccm
|
22년 전 | 1121 | |
| 560 | 22년 전 | 1095 | ||
| 559 | 22년 전 | 1185 | ||
| 558 | 22년 전 | 1121 | ||
| 557 | 22년 전 | 1031 | ||
| 556 | 22년 전 | 1021 | ||
| 555 | 22년 전 | 1297 | ||
| 554 | 22년 전 | 1122 | ||
| 553 | 22년 전 | 1119 | ||
| 552 |
배부른꿀꿀이
|
22년 전 | 1904 | |
| 551 | 22년 전 | 1086 | ||
| 550 | 22년 전 | 1565 | ||
| 549 |
darshna
|
22년 전 | 1519 | |
| 548 |
김현철
|
22년 전 | 1177 | |
| 547 | 22년 전 | 1325 | ||
| 546 | 22년 전 | 2013 | ||
| 545 |
이현우
|
22년 전 | 1080 | |
| 544 |
skynoah
|
22년 전 | 1847 |
저의 경로사용예를 보여드리겠습니다. 딴지걸어주십시오...^^ [12]
배부른꿀꿀이
•
22년 전
메뉴 좌측에 'HTML/스크립터' 게시판 추가
김현철
•
22년 전
2.42 설치방법????
이현우
•
22년 전
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기