특정 게시판 코멘트개수 출력 정보
특정 게시판 코멘트개수 출력본문
            
            
                        <?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
                
    1
댓글 1개

                
                    좋은 팁 감사합니다.