===next_record() 函数
function next_record() {
if (!$this->Query_ID) {
$this->halt("next_record called with no query pending.");
return 0; //这里不就是无数据时的返回吗?
}
....
function next_record() {
if (!$this->Query_ID) {
$this->halt("next_record called with no query pending.");
return 0; //这里不就是无数据时的返回吗?
}
....
$this->Query_ID 这是mysql_Query()成功后返回的值。并不是mysql_fetch_array()返回的值。