Hi!!
I'm trying to visualize a .dbm file. It's hosted
in the same directory as my .php file.
With this test example:
-------------//---------------------------
<html><head><title>PHP Test</title></head>
<body>
<?php
$fn="myfile.mdb";
$db=dbmopen($fn,"r"
$key = dbmfirstkey ($db);
while ($key) {
echo "$key = " . dbmfetch ($db, $key) . "\n";
$key = dbmnextkey ($db, $key);
}
dbmclose($db);
?>
</body></html>
---------//--------------------------
I do not get anything.
Could anybody provide me an example of using DBM?
Thank you very much.
I'm trying to visualize a .dbm file. It's hosted
in the same directory as my .php file.
With this test example:
-------------//---------------------------
<html><head><title>PHP Test</title></head>
<body>
<?php
$fn="myfile.mdb";
$db=dbmopen($fn,"r"
$key = dbmfirstkey ($db);
while ($key) {
echo "$key = " . dbmfetch ($db, $key) . "\n";
$key = dbmnextkey ($db, $key);
}
dbmclose($db);
?>
</body></html>
---------//--------------------------
I do not get anything.
Could anybody provide me an example of using DBM?
Thank you very much.