(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0)
sqlite_current -- SQLiteResult::current -- SQLiteUnbuffered::current — Fetches the current row from a result set as an array
$result
[, int $result_type
= SQLITE_BOTH
[, bool $decode_binary
= TRUE
]] ) : array锟斤拷锟斤拷锟斤拷锟斤拷锟� (method):
$result_type
= SQLITE_BOTH
[, bool $decode_binary
= TRUE
]] ) : array$result_type
= SQLITE_BOTH
[, bool $decode_binary
= TRUE
]] ) : arraysqlite_current() is identical to sqlite_fetch_array() except that it does not advance to the next row prior to returning the data; it returns the data from the current position only.
result
The SQLite result resource. This parameter is not required when using the object-oriented method.
result_type
锟斤拷选锟斤拷 result_type
锟斤拷锟斤拷锟斤拷锟杰筹拷锟斤拷锟斤拷锟揭撅拷锟斤拷锟斤拷锟截碉拷锟斤拷锟斤拷锟斤拷伪锟斤拷锟斤拷锟斤拷锟绞癸拷锟�
SQLITE_ASSOC
锟斤拷锟斤拷锟斤拷毓锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷侄危锟斤拷锟斤拷锟�
SQLITE_NUM
锟斤拷锟斤拷锟斤拷锟斤拷锟街碉拷锟斤拷锟斤拷锟�SQLITE_BOTH
锟斤拷同时锟斤拷锟截癸拷锟斤拷锟斤拷锟斤拷值锟斤拷锟斤拷锟斤拷SQLITE_BOTH
锟角此猴拷锟斤拷锟斤拷默锟斤拷值锟斤拷
decode_binary
锟斤拷
decode_binary
锟斤拷锟斤拷锟斤拷锟斤拷为 TRUE
锟斤拷默锟斤拷值锟斤拷时锟斤拷PHP 锟斤拷锟斤拷锟斤拷锟叫╋拷锟�
sqlite_escape_string()
锟斤拷锟斤拷锟侥讹拷锟斤拷锟斤拷锟斤拷锟捷★拷通锟斤拷应锟斤拷锟斤拷锟斤拷值为锟斤拷默锟斤拷值锟斤拷锟斤拷锟斤拷要锟斤拷锟斤拷锟斤拷使锟斤拷 SQLlite 锟斤拷应锟矫筹拷锟斤拷锟斤拷锟斤拷锟斤拷锟捷斤拷锟斤拷锟斤拷
Returns an array of the current row from a result set; FALSE
if the
current position is beyond the final row.
锟斤拷
SQLITE_ASSOC
锟斤拷 SQLITE_BOTH
锟斤拷锟截碉拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 sqlite.assoc_case
锟斤拷锟斤拷选锟斤拷锟街碉拷锟斤拷锟斤拷锟叫⌒达拷锟�