On Mon, Feb 12, 2001 at 09:23:36AM +0100, Marc Boeren wrote:
> >I think this would be nice. To be able to pull a multi-dimentional array
> >from a mysql result.
>
> I'm working on a database abstraction module that does exactly this, and
> should support every database module that is loaded into php. I've already
> got it doing what you describe, only I return an object which includes
> rowcount and fieldcount as well as the 2-d array results (index and/or
> associative) (and I use [rownumber]["fieldname"] :-)
Of course, this could also be done with a fairly simple PHP function
as well, using the existing drivers. The work to build an array or
object of a complete result set is just a for loop, after all.
Matt
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]