update : 2015.11.03
php.shukuma.com검색:
|
sqlite_fetch_allSQLiteResult::fetchAllSQLiteUnbuffered::fetchAll(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) sqlite_fetch_all -- SQLiteResult::fetchAll -- SQLiteUnbuffered::fetchAll — Fetches all rows from a result set as an array of arrays 설명
array sqlite_fetch_all
( resource
$result
[, int $result_type = SQLITE_BOTH
[, bool $decode_binary = true
]] )객체 기반 형식 (method):
array SQLiteResult::fetchAll
([ int
$result_type = SQLITE_BOTH
[, bool $decode_binary = true
]] )
array SQLiteUnbuffered::fetchAll
([ int
$result_type = SQLITE_BOTH
[, bool $decode_binary = true
]] )
sqlite_fetch_all() returns an array of the entire result
set from the 인수
반환값Returns an array of the remaining rows in a result set. If called right after sqlite_query(), it returns all rows. If called after sqlite_fetch_array(), it returns the rest. If there are no rows in a result set, it returns an empty array.
예제
Example #1 Procedural example
<?php
Example #2 Object-oriented example
<?php |