php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1566 Cannot get information from database
Submitted: 1999-06-18 11:31 UTC Modified: 1999-06-18 12:39 UTC
From: kenford at infomak dot com Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 3.0.8 OS: Linux 2.0.33
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kenford at infomak dot com
New email:
PHP Version: OS:

 

 [1999-06-18 11:31 UTC] kenford at infomak dot com
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);



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-18 12:39 UTC] sas at cvs dot php dot net
There is a bug in PHP 3.0.8's version of dba_db2.c. Upgrade to 3.0.9 or apply the following patch:

http://cvs.php.net/cvsweb.cgi/functions/dba_db2.c.diff?r1=1.8&r2=1.9
 [2022-05-23 14:10 UTC] git@php.net
Automatic comment on behalf of cmb69
Revision: https://github.com/php/doc-en/commit/36a894a62760104ad57aaf761a8a56e478353e87
Log: Fix #1566: crypt(): --with-external-libcrypt undocumented
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC