Richard Lynch wrote:
The most efficient way is "Don't do that." :-)
Simply loop through the results and do whatever you want to do with
them, and don't put them into an array at all.
This makes perfect sense.
However, I am currently writing an abstraction
layer for a project that will later be ported from
MySQL to another database (and I haven't even
been told what that database will be, but probably
MS SQL Server), so I was thinking if some sort of
"helper functions" might be useful, but I think
simple wrappers are probably the way to go.
--
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and
versatile PHP/MySQL development framework.
http://phpenguin.bigskypenguin.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php