$cntresult = mysql_query("SELECT COUNT(ID) AS RecCnt FROM data WHERE ParentID=0 AND ((UNIX_TIMESTAMP()-UNIX_TIMESTAMP(PostDateTime))<".(__EXPIREDAYS*86400).")");
if ($cntrow=mysql_query($cntresult)) {
$mRecCnt = $cntrow["RecCnt"];
}
$mPageCnt = ceil($mRecCnt/__LINEPERPAGE);
มันฟ้องขึ้นมาว่า
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\test\webboard\_content.php on line 32