Bug #1566: Cannot get information from database

From: Date: Fri, 18 Jun 1999 15:31:39 +0000
Subject: Bug #1566: Cannot get information from database
Groups: php.dev 
Request: Send a blank email to php-dev+get-7079@lists.php.net to get a copy of this message
From: kenford@infomak.com Operating system: Linux 2.0.33 PHP version: 3.0.8 PHP Bug Type: DBM related Bug description: Cannot get information from database This work ---------- $id = dba_open("test.db", "n", "db2"); $DATA="hello world"; dba_insert(testID, $DATA, $id); echo "[" . dba_fetch("testID", $id) . "]\n"; dba_close($id); These do not work ---------------- $id = dba_open("test.db", "r", "db2"); echo dba_fetch("testID", $id) . "\n"; dba_close($id); $id = dba_open("test.db", "r", "db2"); echo dba_firstkey($id); dba_close($id); $id = dba_popen("test.db", "r", "db2"); echo dba_fetch("testID", $id) . "\n"; dba_close($id);

« previous php.dev (#7079) next »