DB/mssql.php small glitch

From: Date: Mon, 16 Dec 2002 13:26:26 +0000
Subject: DB/mssql.php small glitch
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11708@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); Regards yavor

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