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 #2198

[MSSQL] can't fetch column name with DB_FETCHMODE_ASSOC

Details

Submitted2004-08-23 08:29 UTC
Frommfsystem at trekker dot office dot ne dot jp
StatusDuplicate
PackageDB
PHP Version4.3.8
OSLinux
Roadmaps(Not assigned)

Comments

[2004-08-23 08:29 UTC] mfsystem at trekker dot office dot ne dot jp

Description:
------------
mssql.php line 198
> $arr = @mssql_fetch_array($result, MSSQL_ASSOC);

this statement result on php4.3.8:
> Warning: Wrong parameter count for mssql_fetch_array()

mistaken for mssql_fetch_assoc() ?
but mssql_fetch_assoc() doesn't work on php4.3.8

seem to be similar to Bug #1525, but this is just typo or adjustment with PHP function.

Reproduce code:
---------------
$arr = @mssql_fetch_array($result);

[2004-08-23 08:48 UTC] mfsystem at trekker dot office dot ne dot jp

i apologize for resolved on Bug #1525, sorry.