这个程序到底错在哪里???
飘渺_小羊 2003-09-02 12:01:29 function next_record() {
$this->Record = mysql_fetch_array($this->Query_ID);
$this->Row += 1;
# $this->Errno = mysql_errno();
# $this->Error = mysql_error();
$stat = is_array($this->Record);
if (!$stat && $this->Auto_free) {
mysql_free_result($this->Query_ID);
$this->Query_ID = 0;
}
return $stat;
}
错误信息:
Warning: mysql_fetch_array();supplied argument is not a valid MySQL result resource in D:\www\includes\db.inc.php on line 2