RE: [PEAR-DEV] DB/mssql.php small glitch

From: Date: Mon, 16 Dec 2002 13:34:22 +0000
Subject: RE: [PEAR-DEV] DB/mssql.php small glitch
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11709@lists.php.net to get a copy of this message
> Hello, > > I have noticed the mssql extension uses mssql_fetch_array when using > DB_FETCHMODE_ASSOC as stated in the manual this function > returns _both_ the > nmeric and assosiative indexes. I propose using the mssql_fetch_assoc > function instead. I remember someone making a note about this > on the list. I > think he got ignored. can the maintener of mssql do this. if he is not > available can some one please fix this on line 156 of DB/mmsql.php > > change > $ar = @mssql_fetch_array($result); > to > $ar = @mssql_fetch_assoc($result); I guess that would be stig since we didn't see tomas in a long long time. Arnaud.

« previous php.pear.dev (#11709) next »