#47087 [Opn->Asn]: Second parameter of mssql_fetch_array() is ignored
ID: 47087
Updated by: kalle@php.net
Reported By: vrana@php.net
-Status: Open
+Status: Assigned
Bug Type: MSSQL related
Operating System: Windows
PHP Version: 5.3.0alpha3
-Assigned To:
+Assigned To: kalle
New Comment:
I'll have a look at it
Previous Comments:
------------------------------------------------------------------------
[2009-01-13 12:35:24] vrana@php.net
Description:
------------
It seems that the result_type parameter of mssql_fetch_array() is
always set to MSSQL_BOTH.
Reproduce code:
---------------
<?php
print_r(mssql_fetch_array($result, MSSQL_ASSOC));
?>
Expected result:
----------------
Array
(
[id] => 1
)
Actual result:
--------------
Array
(
[0] => 1
[id] => 1
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47087&edit=1
Thread (3 messages)