I use the PEAR db http://pear.php.net/manual/en/package.database.php

This returns arrays - examples here
http://pear.php.net/manual/en/package.database.db.intro-fetch.php

look at the Quick data retreaval down the page

pete


Larry Brown wrote:
Is there any php function to pull a query into an array?  I know there is a
way to get the first row of the results in an array, but I'm having to loop
through each row pushing the row onto an array to get the result I'm looking
for and it seems like a lot of code for something that I would think is used
a lot.

Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to