PHP Manual
后退 |  | 前进

# sqlite_valid

(PHP 5)

sqlite_valid

(no version information, might be only in CVS)

SQLiteResult->valid

(no version information, might be only in CVS)

SQLiteUnbuffered->valid -- Returns whether more rows are available

## 说明

bool sqlite_valid ( resource result )

Object oriented style (method):

class SQLiteResult {
bool valid ( void )
}class SQLiteUnbuffered {
bool valid ( void )
}

Finds whether more rows are available from the given result handle.

## 参数

result

  The SQLite result resource. This parameter is not required when using the object-oriented method.

  > 注: This function cannot be used with unbuffered result handles.

## 返回值

Returns `TRUE` if there are more rows available from the result handle, or `FALSE` otherwise.

## 参见

sqlite_num_rows()
sqlite_changes()

后退 | 起点 | 前进
sqlite_unbuffered_query | 上一级 | Secure Shell2 Functions