#27690 [Opn->Csd]: sqlite_fetch_column_types 3rd argument for arrays
| From: | iliaa@php.net | Date: | Thu, 14 Oct 2004 23:19:53 +0000 |
| Subject: | #27690 [Opn->Csd]: sqlite_fetch_column_types 3rd argument for arrays | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-67604@lists.php.net to get a copy of this message | ||
ID: 27690
Updated by: iliaa@php.net
Reported By: sdibb at comcast dot net
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Windows XP
PHP Version: 5CVS-2004-03-25 (dev)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-03-25 03:02:15] sdibb at comcast dot net
Description:
------------
This is just a simple request to modify the output of the array for the
sqlite_fetch_column_types() function.
Currently, it displays the array indexed by the column name[1]. It
would be cool if you could pass an int result_type, similar to
sqlite_fetch_array to index by column name, column number, or both[2].
Thas all. It'd certainly be helpful. :)
Reproduce code:
---------------
[1]
Array
(
[id] => integer
[volume] => integer
)
[2]
Array
(
[id] => integer
[0] => integer
[volume] => integer
[1] => integer
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27690&edit=1