특정 게시판 코멘트개수 출력
<?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개