쿼리구문? 질문드립니다 채택완료
STALEKR
9년 전
조회 2,836
링크를 확인해보시면 정회원이 몇명인지 카운트 해주는 구문에 오류가 있는거같은데요... 뭐가 문제 인지 모르겠습니다
Warning: mysql_fetch_array() expects parameter 1 to be resource, object given in /host/home2/akdlxl3085/html/skin/board/miniclub/miniclub_member_list.php on line 183 정회원 : 명
</p><p>// 정회원 수
$dbresult = sql_query( "select count(*) from g5_miniclub_member where status < 4 and miniclub_table = '$tablename'");
$member_rows = mysql_fetch_array( $dbresult );
echo "<b>정회원 : $member_rows[0]명</b>";
echo " ";</p><p>echo "
";</p><p>
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
답변을 작성하려면 로그인이 필요합니다.
로그인