쿼리구문? 질문드립니다
관련링크
본문
링크를 확인해보시면 정회원이 몇명인지 카운트 해주는 구문에 오류가 있는거같은데요... 뭐가 문제 인지 모르겠습니다
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 정회원 : 명
// 정회원 수
$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 " ";
echo "<br><br><br><br><br><br>";
답변을 작성하시기 전에 로그인 해주세요.