다음과 같은 경고가 떠요? 아이참...ㅠ.ㅠ
Warning: Supplied argument is not a valid MySQL result resource in /home/master/public_html/show.php3 on line 16
###다음 내용###
12 $connection = mysql_connect("localhost","root","0122");
13 //dbms 서버연결
14 mysql_select_db("bbs",$connection);
15 $result = mysql_query("select * from $board order by id desc" ,$connection);
16 $total = mysql_num_rows($result);
17 if(!$total){
18 //게시판에 등록된 글이 없는 경우
19 echo ("<center><h1>아직 등록된 글이 없습니다.</h1></center>");
20 }
21 else{--여자라고 무시하지마세요..