Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: dba_fetch - Manual
[go: Go Back, main page]

PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<dba_existsdba_firstkey" width="11" height="7"/>
view the version of this page
Last updated: Sat, 06 May 2006

dba_fetch

(PHP 3 >= 3.0.8, PHP 4, PHP 5)

dba_fetch -- キーが指すデータを取得する

説明

string dba_fetch ( string key, resource handle )

string dba_fetch ( string key, int skip, resource handle )

dba_fetch() は、handle が指すデータベースから key が指すデータを 取得します。

パラメータ

key

データを取得するキー。

注意: inifile を利用する際には、この関数は配列を受け入れることが可能です。 インデックス 0 にはグループ名、インデックス 1 には値の名前を格納します。 dba_key_split() も参照ください。

skip

dba データベースを使用する際に無視する キー / 値 の組み合わせ数。 複数のキーに同じ名前をつけることがサポートされていないデータベースです、 この値は無視されます。

handle

dba_open() あるいは dba_popen() によって返されたデータベースハンドル。

返り値

キー / データの組が見つかった場合にそれに関連する文字列、 それ以外の場合に FALSE を返します。

変更履歴

バージョン説明
4.3 複数のキーに同じ名前をつけられる cdb の機能に対応するため、 skip パラメータが使用可能になりました。



add a note add a note User Contributed Notes
dba_fetch
There are no user contributed notes for this page.

<dba_existsdba_firstkey" width="11" height="7"/>
 Last updated: Sat, 06 May 2006
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2006 The PHP Group
All rights reserved.
This mirror generously provided by: PacketBusiness, Inc.
Last updated: Sun Sep 3 14:25:38 2006 JST