Join Up!
104886 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previousdbminsertdbmopennext
Last updated: Sun, 27 Oct 2002
view the printer friendly version or the printer friendly version with notes or change language to Finnish | German | Spanish

dbmnextkey

(PHP 3, PHP 4 )

dbmnextkey -- Získat další klíč z DBM databáze

Popis

string dbmnextkey ( int dbm_identifier, string key)

Vrací klíč násůedující po key. Zavoláním dbmfirstkey() následovaným postupným voláním dbmnextkey() se dají získat všechny key/value páry v DBM databázi. Například:

Příklad 1. Získání všech key/value párů v DBM databázi

$key = dbmfirstkey ($dbm_id);
while ($key) {
    echo "$key = " . dbmfetch ($dbm_id, $key) . "\n";
    $key = dbmnextkey ($dbm_id, $key);
}

User Contributed Notes
dbmnextkey
add a note about notes
There are no user contributed notes for this page.
previousdbminsertdbmopennext
Last updated: Sun, 27 Oct 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST