특정 게시판 코멘트개수 출력
<?php
function board_count($bo_table){
$Row = sql_fetch(" select bo_count_comment from g4_board where bo_table = '".$bo_table."' ");
return $Row['bo_count_comment'];
}
echo board_count('n000001');
?>
echo board_count('원하는게시판');
function board_count($bo_table){
$Row = sql_fetch(" select bo_count_comment from g4_board where bo_table = '".$bo_table."' ");
return $Row['bo_count_comment'];
}
echo board_count('n000001');
?>
echo board_count('원하는게시판');
댓글 1개
10년 전
좋은 팁 감사합니다.
게시글 목록
| 번호 | 제목 |
|---|---|
| 34292 | |
| 34279 | |
| 34278 | |
| 34264 | |
| 34251 | |
| 34231 | |
| 34196 | |
| 34184 | |
| 34166 | |
| 34151 | |
| 34143 | |
| 34142 | |
| 34134 | |
| 34132 | |
| 34131 | |
| 34125 | |
| 34093 | |
| 34076 | |
| 34060 | |
| 34031 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기