sqlite_column
(PHP 5)
sqlite_column(no version information, might be only in CVS)
SQLiteResult->column(no version information, might be only in CVS)
SQLiteUnbuffered->column -- Fetches a column from the current row of a result setOpis
mixed sqlite_column ( resource result, mixed index_or_name [, bool decode_binary] )class SQLiteResult {
mixed column ( mixed index_or_name [, bool decode_binary] )
}class SQLiteUnbuffered {
mixed column ( mixed index_or_name [, bool decode_binary] )
}
Fetches the value of a column named index_or_name
(if it is a string), or of the ordinal column numbered
index_or_name (if it is an integer) from the
current row of the query result handle result.
Parametry
resultThe SQLite result resource. This parameter is not required when using the object-oriented method.
index_or_nameThe column index or name to fetch.
decode_binaryKiedy parametr
decode_binaryzostanie ustawiony na TRUE (domyślnie), PHP zdekoduje kodowanie binarne, któremu zostały poddane dane, jeśli były kodowane przy użyciu funkcji sqlite_escape_string(). Zazwyczaj należy pozostawić domyślną wartość tego parametru, chyba że baza jest współużytkowana przez różne aplikacje.