Darren,
Try looking at the problem differently. You can treat your query as
structure of arrays. If you do this you won't have to do any conversion
at all. Simply set up a for () or <cfloop from to index> loop and out
put only the values you want.
<cfloop from=1 to=#news.recordcount# index="i">
headline = news['headline'][i];
// do something
</cfloop>
--
Josh Meekhof
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
- RE: Arrays and Structures storing query values Raymond Camden
- Re: Arrays and Structures storing query values Dave f
- RE: Arrays and Structures storing query values Raymond Camden
- cfscript Ken Beard
- Re: cfscript Ken Beard
- RE: Arrays and Structures storing query values Neil Clark
- RE: Arrays and Structures storing query values Steve Martin
- RE: Arrays and Structures storing query values jeff tapper
- Re: Arrays and Structures storing query values Gerry Pauline
- RE: Arrays and Structures storing query values Steve Martin
- RE: Arrays and Structures storing query values Joshua Meekhof
- RE: Arrays and Structures storing query values Darren Adams
- RE: Arrays and Structures storing query values Robert Segal
- RE: Arrays and Structures storing query values Dave Watts
- RE: Arrays and Structures storing query values Darren Adams
- RE: Arrays and Structures storing query values Darren Adams

