#41298 [Opn->Fbk]: [MySQLi] Can't get arrays from prepared SELECT statement
| From: | tony2001@php.net | Date: | Sun, 06 May 2007 10:31:06 +0000 |
| Subject: | #41298 [Opn->Fbk]: [MySQLi] Can't get arrays from prepared SELECT statement | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-112307@lists.php.net to get a copy of this message | ||
ID: 41298
Updated by: tony2001@php.net
Reported By: moxley at moxleydata dot com
-Status: Open
+Status: Feedback
Bug Type: Feature/Change Request
Operating System: n/a
PHP Version: 5.2.2
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-05-05 20:08:27] moxley at moxleydata dot com
Description:
------------
Using the prepared statement feature of mysqli to execute "SELECT *
..."
queries, there's no way to fetch rows in the result set so that each
row
is an array. Every other database API allows this or something to the
same effect. Instead, the only way to get row values is to assign each
value in the row to a separate, named variable, which is cumbersome,
verbose, error-prone and doesn't leave any room for abstraction.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41298&edit=1