php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #41298 [MySQLi] Can't get arrays from prepared SELECT statement
Submitted: 2007-05-05 20:08 UTC Modified: 2007-05-14 01:00 UTC
Votes:3
Avg. Score:4.3 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: moxley at moxleydata dot com Assigned:
Status: No Feedback Package: Feature/Change Request
PHP Version: 5.2.2 OS: n/a
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: moxley at moxleydata dot com
New email:
PHP Version: OS:

 

 [2007-05-05 20:08 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-06 10:31 UTC] tony2001@php.net
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.



 [2007-05-14 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC