Error: Client error: `GET https://graph.instagram.com/refresh_access_token?grant_type=ig_refresh_token&access_token=IGAAIbn3HQzhdBZAGJ1V21OQ1pSZAUpsZAXRRMzl1RWJxelVUY1JPdG4xU1hDR19udFZAxWmlVbzgxNElGSFNvWUY0VmNIbDd3ZAW55dm4xMWxQTmlrcXgzNFdfTy1MQ2JQbGs3Q3B2c0dyZAVNISEN3ZAkxabG9B` resulted in a `400 Bad Request` response: {"error":{"message":"Error validating access token: The session has been invalidated because the user changed their pass (truncated...) 그누보드 게시판 전체글수 구하는 쿼리 > 정보공유 | 그누위즈 - 웹 사이트 제작 전문

그누보드 게시판 전체글수 구하는 쿼리 > 정보공유

본문 바로가기

정보공유

일반글
MySQL

그누보드 게시판 전체글수 구하는 쿼리

페이지 정보

게시물QR코드

본문

전체 게시판 전체글수 구하기

select sum(bo_count_write) as total_count from g5_board 

 

전체 게시판 전체글수 구하기 쿼리를 그누보드에서 응용해보겠습니다.

<?php

$row = sql_fetch(" select sum(bo_count_write) as total_count from g5_board");

echo $row['total_count'];

?>

 

아래는 그룹의 전체글수 구하기 입니다.

<?php

$row = sql_fetch("select sum(bo_count_write) as total_count from g5_board where gr_id = '그룹명' ");

echo $row['total_count'];

?>

댓글목록

등록된 댓글이 없습니다.

  • Addr.부산광역시 동래구 명장로106번길 70-4, 301호 CEO. 이경애 Email. gnuwiz@naver.com
  • BR. 625-68-00172 TRC. 2024-부산진-0560 TEL. 0507-1382-2790
Copyright © 2017 ~ 그누위즈. All rights reserved.