Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 20838 программистов и 1114 роботов. Сейчас ищут 617 программистов ...
Приступая к работе

SQLite3Result::fetchArray - Fetches a result row as an associative or numerically indexed array or both

Вернуться к: SQLite3Result

SQLite3Result::fetchArray

(PHP 5 >= 5.3.0, PHP 7)

SQLite3Result::fetchArray Fetches a result row as an associative or numerically indexed array or both

Описание

public array SQLite3Result::fetchArray ([ int $mode = SQLITE3_BOTH ] )

Fetches a result row as an associative or numerically indexed array or both. By default, fetches as both.

Список параметров

mode

Controls how the next row will be returned to the caller. This value must be one of either SQLITE3_ASSOC, SQLITE3_NUM, or SQLITE3_BOTH.

  • SQLITE3_ASSOC: returns an array indexed by column name as returned in the corresponding result set

  • SQLITE3_NUM: returns an array indexed by column number as returned in the corresponding result set, starting at column 0

  • SQLITE3_BOTH: returns an array indexed by both column name and number as returned in the corresponding result set, starting at column 0

Возвращаемые значения

Returns a result row as an associatively or numerically indexed array or both. Alternately will return FALSE if there are no more rows.



Вернуться к: SQLite3Result

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware