note 36781 added to function.dba-firstkey
| From: | psycho-logic at excite dot com | Date: | Wed, 22 Oct 2003 09:38:05 +0000 |
| Subject: | note 36781 added to function.dba-firstkey | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59108@lists.php.net to get a copy of this message | ||
Looks like Jacky is using some DB object? I don't know if it's native to PHP or written on
it's own... Anyways this is what I use:
$DBCon = dba_open("/tmp/test_db.db2", "r", "db2") or die("Uh oh,
can't open the database :(");
if ($the_key = dba_firstkey($DBCon)) do {
print("Key: $the_key Value:");
print dba_fetch($the_key, $DBCon);
print("<BR>");
} while ($the_key = dba_nextkey($DBCon));
print ("<BR><BR><BR>Well looks like we're done here :-)");
----
Manual Page -- http://www.php.net/manual/en/function.dba-firstkey.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36781
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36781&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36781&report=yes
Search -- http://master.php.net/manage/user-notes.php