|
PHP5中文手册
sqlite_fetch_arraySQLiteResult->fetchSQLiteUnbuffered->fetch(No version information available, might be only in CVS) SQLiteUnbuffered->fetch — Fetches the next row from a result set as an array 说明
array sqlite_fetch_array
( resource $result
[, int $result_type
[, bool $decode_binary
]] )
Object oriented style (method): SQLiteResult
array fetch
([ int $result_type
[, bool $decode_binary
]] )
SQLiteUnbuffered
array fetch
([ int $result_type
[, bool $decode_binary
]] )
Fetches the next row from the given result handle. If there are no more rows, returns FALSE, otherwise returns an associative array representing the row data. 参数
返回值Returns an array of the next row from a result set; FALSE if the next position is beyond the final row. 由 SQLITE_ASSOC 和 SQLITE_BOTH 返回的列名会根据 sqlite.assoc_case 配置选项的值来决定大小写。 范例
Example#1 Procedural example
<?php
Example#2 Object-oriented example
<?php |