묻고답하기


제로보드에서 회원레벨 관리할때여 php화일을 만들어서 실행만 시키는건데..
회원올리는 기준은 글쓴수와 포인트수로 올리는 겁니다..

기준 : http://majorball.giveu.net/img/level2.gif     <======이게 글쓴수와 코멘트수로 레벨올리는 기준이에염

근데...아래에 화일(php)를 실행시키니 에러가 1개가 떠서여..

<?
mysql_connect("localhost",ID,PASSWORD);
mysql_select_db(DBNAME);

$result2=mysql_query("select no from zetyx_member_table where level>1");

while($result2 = mysql_fetch_array($result))
{
$result3=mysql_query("select no,point1,point2 from zetyx_member_table where no=$result2[no]",$connect);

$row=mysql_fetch_array($result3);

$no = $row[no];
$point1 = $row[point1]/10;
$point2 = $row[point2];

if($point1>30000 && $point2>300000)
  @mysql_query("update zetyx_member_table set level='2' where no='$no'",$connect) or error(mysql_error());
elseif($point1>1000 && $point2>10000)
  @mysql_query("update zetyx_member_table set level='3'+ '+ ' where no='$no'",$connect) or error(mysql_error());
elseif($point1>500 && $point2>500)
  @mysql_query("update zetyx_member_table set level='4' where no='$no'",$connect) or error(mysql_error());
elseif($point1>300 && $point2>100)
  @mysql_query("update zetyx_member_table set level='5' where no='$no'",$connect) or error(mysql_error());
elseif($point1>100 && $point2>40)
  @mysql_query("update zetyx_member_table set level='6' where no='$no'",$connect) or error(mysql_error());
elseif($point1>30 && $point2>10)
  @mysql_query("update zetyx_member_table set level='7' where no='$no'",$connect) or error(mysql_error());
elseif($point1>10 && $point2>2)
  @mysql_query("update zetyx_member_table set level='8' where no='$no'",$connect) or error(mysql_error());
else
  @mysql_query("update zetyx_member_table set level='9' where no='$no'",$connect) or error(mysql_error());

}

mysql_close();
?>

------------------------------------------------------------------------------------
이것을 실행하면 이런에러가...


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/themjh/level2/level.php on line 7

이런에러가 나네욤^^;;

이걸 어떻게 수정해야죠?? 변수를 달리 잡아줘도 계속 에러가..;;;

도와주세염!
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
권영훈 도와주세요 -_-;; [4] 2007.08.10
Mari 고객관리를 하려구 하는데요.. [3] 2007.08.10
선美 php문에서 에러1개 입니다. [5] 2007.08.10
ⓘⓝⓢⓤ™ 테이블안에 배경 반복 되지 않게하려면.. [1] 2007.08.10
허진규 BeOs 아쉬는분 ^ ^? [1] 2007.08.10
always-e 제로보드를 쓰는 노프레임 페이지에서 head 건드리기  
딴따라 플래시 파일은 뭘로 열어야 볼수있는거죠? [1] 2007.08.10
김현석 php 보드 테스트 부탁 (--)(__) [1] 2007.08.10
안대민 htm 과 html의 차이점을 알고 싶어요. [2] 2007.08.10
권일권 [질문] 연산 제어가 가능한 DB를 구축하고 싶습니다.. 어떤게 필요한지 좀 알려 주십시요..~~! [1] 2007.08.10
권영훈 ㅠㅠ 두가지 질문이에요^^ [2] 2007.08.10
송인주 iframe 리사이즈 문제요~ [5] 2007.08.10
ⓘⓝⓢⓤ™ 몇초마다 한번씩 새로고침하는소스는..요.? [1] 2007.08.10
달파란 아이프레임 이해가 않가는 부분이 있습니다 .. [2] 2007.08.10
바네스 부팅후 바탕화면이 이상하게 나타나요. (캡쳐자료 포함) [1] file 2007.08.10
김민성 [질문] 노 프레임일때.. 그럼 어떻케 하죠...? [2] 2007.08.10
CraZyWoo 그..윈도우 디자인의 홈피 주소?(맥os나 윈2000 바탕화면 모양) [1] 2007.08.10
민인학 제로보드 설치시 data의 쓰기권한이 없다고 나옵니다. [1] 2007.08.10
임형기 isp 업체에서... [2] 2007.08.10
▷◁ Js.net 나모에서 홈 만드는데요... 표 부분이 못 늘어나게 하려면.. [6] 2007.08.10
Brown 게시물 출력 ..(php) [2] 2007.08.10
최신혁 다운시오류가납니다.. 집파일로된것만  
오덕균 이부분은 어떻게 하죠?(제발 답변 좀 ㅠ.ㅠ)  
최신혁 xdns xwow.net인가? 그거요 갑자기 안들어가지는데 어떻게된건지아시는분답변좀... xcool.net인데 안되요 ㅠㅠ  
BoA 컴퓨터 리소스에 관해서 .. [2] 2007.08.10
히스 저기 제로보드 설문조사에 대하여.. [1] 2007.08.10
R9 님들, rtsp://~.rm파일은 어떻게 다운받나요? [1] 2007.08.10
김민성 [질문]엔지오 처럼 홈을 만들려면...? [2] 2007.08.10
Maie君 플래시 Perloading 질문.. [1] 2007.08.10
ekoo 제 컴하고 다른게 나오네요. [2] 2007.08.10