[Theforum] [---Dev] RE: [---tent] Article cleanup issue

Morgan Kelsey morgan at morgankelsey.com
Tue Jul 23 21:54:04 CDT 2002


> > >     You're also continuing to load over 800 records into
> > >     an array *after* it's already got all the records
> > >     you need.
> > ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> >
> > huh?  where am i loading those records in to an array?
> Sorry, I'm assuming that a script which receives 902
> rows as a result is processing them as an array once
> they get there.  My turn to go 'huh?' then :-)

CF loads queries into a special query object, you don't have to assign the
result set to an array as you do in PHP. The benefits being that you can
reference the query in structure notation, and recursive output is
'built-in' when you output with nested cfoutput tags. another plus, is that
the array isn't destroyed once you've looped over it, as it is php.

i'd suggest people go have a look at the source code, it's freely available:


More information about the theforum mailing list