PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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:
----------------