PHP Manuál | ||
---|---|---|
Predchádzajúci | Nasledujúci |
(PHP 5)
sqlite_current(no version information, might be only in CVS)
SQLiteResult->current(no version information, might be only in CVS)
SQLiteUnbuffered->current -- Fetches the current row from a result set as an arrayObject oriented style (method):
class SQLiteResult {sqlite_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.
The SQLite result resource. This parameter is not required when using the object-oriented method.
Volite�n� result_type parameter akceptuje kon�tantu a ur�uje ako sa bude vr�ten� pole indexova�. Pou�itie SQLITE_ASSOC vr�ti iba asociat�vne indexy (naz�van� polia) zatia��o SQLITE_NUM vr�ti iba ��seln� indexy (r�dov� ��sla po�a). SQLITE_BOTH vr�ti obe asociat�vne a ��seln� indexy. SQLITE_BOTH je v�chodzia pre t�to funkciu.
Ke� sa decode_binary parameter nastav� na TRUE (default), PHP dek�duje k�dovanie bin�rneho s�boru, ktor� aplikoval na d�ta, ak bol zak�dovan� pomocou sqlite_escape_string(). T�to hodnotu by ste mali ponecha� vo svojom v�chodzom stave, pokia� nespolupracujete s datab�zami vytvoren�mi in�mi sqlite schopn�mi aplik�ciami.
Returns an array of the current row from a result set; FALSE if the current position is beyond the final row.
N�zvy st�pcov, ktor� vracaj� SQLITE_ASSOC a SQLITE_BOTH will be case-zbalen� pod�a hodnoty sqlite.assoc_case konfigura�nej vo�by.
Predchádzajúci | Domov | Nasledujúci |
sqlite_create_function | Hore | sqlite_error_string |