# skip@xxxxxxxxxxxxxxxxx / 2007-02-13 17:43:10 -0700: > 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. Use iterators. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php