<?
$sql = "select * From webboard order by W_no DESC";
$result = mysql_query($sql);
while($data=mysql_fetch_array($result)){
$sql2 = "select * from webboard where W_no=$data[W_no]";
$result2 = mysql_query($sql2);
$num_row = mysql_num_rows($result2);
?>
มันฟ้องว่า error ว่า Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\AppServ\www\Android\webboard.php on line 160