게시판의 테이블명 : g5_write_formFaq
그달의 게시글의 총개수를 얻고자 합니다.
$query = ' SELECT * FROM `g5_write_formQnA` where `wr_datetime` 여기를 어떻게 해야하는지.... ';
알려주심 감사하겠습니다~~~
SELECT count(*) as cnt FROM `g5_write_formQnA` where wr_is_comment=0 and month(wr_datetime) = month(now());
댓글을 작성하려면 로그인이 필요합니다.
select count(*) as cnt from g5_wriwte_formQnA where month(w_datetime)=month(now());
$row['cnt']
답변을 작성하려면 로그인이 필요합니다.
이 게시물을 신고 하시겠습니까?신고사유를 선택해주세요.