PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB » Bug #2374

$db->tableInfo($resultset) on mysql

Details

Submitted2004-09-22 15:46 UTC
Fromfabrizio dot balliano at crealabs dot it
Assigneddanielc
StatusBogus
PackageDB
PHP Version4.3.4
OSlinux
Roadmaps(Not assigned)

Comments

[2004-09-22 15:46 UTC] fabrizio dot balliano at crealabs dot it

Description:
------------
with mysql doing:

$rs = $db->query("SELECT * FROM test")
$db->tableInfo($rs);

does not work

you've to patch the mysql.php, line 755
-$id = $result;
+$id = $result->result;

and it works

Expected result:
----------------