Problems with DBM

From: Date: Fri, 09 Nov 2001 22:03:08 +0000
Subject: Problems with DBM
Groups: php.dev 
Request: Send a blank email to php-dev+get-69929@lists.php.net to get a copy of this message
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="proyectos2000.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. _______________________________________________________________________ Gana un antivirus abriendo tu cuenta de correo gratis en HispaVista. http://www.hispavista.com/altacorreo/

« previous php.dev (#69929) next »