Glen Holcomb
8/6/2008 6:28:00 PM
[Note: parts of this message were removed to make it a legal post.]
On Wed, Aug 6, 2008 at 11:11 AM, Ryan Klein <ryan@ryanklein.com> wrote:
> I am wondering if anyone knows of a function for push a MySQL query result
> to an array? Right now I have to loop through the result, not bad but
> somewhat ugly and annoying for naming standards.
>
> Regards,
>
> Ryan
>
>
I would suggest trying one of the many ORM libraries out there: Sequel,
DataMapper, ActiveRecord...
Usually they will give you your results in some array of hashes form.
--
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can't hear a word you're saying."
-Greg Graffin (Bad Religion)