Ray,
What I mean is
I have Keyword[1][1]= Halloween
Keyword[1][2]= DocArray[1][1]DocId =457
DocArray[1][2]DocName = MyStory
DocArray[1][3]DocAuthor= Me
DocArray[2][1]DocId =458
DocArray[2][2]DocName = AnotherStory
DocArray[2][3]DocAuthor= Someone else
Keyword[2][1]= Christmas
Keyword[2][2]= DocArray[1][1]DocId =460
DocArray[1][2]DocName = MyStory
DocArray[1][3]DocAuthor= Me
DocArray[2][1]DocId =486
DocArray[2][2]DocName = AnotherStory
DocArray[2][3]DocAuthor= Someone else
How do I output that?
I hope this is more clear.
Thanks
On Wed, Feb 16, 2011 at 7:14 AM, Loryn Williams <[email protected]>
> wrote:
> >
> > Hi All,
> > I am somewhere between a newbie and enough knowledge to be dangerous,
> so I am hoping that someone can point me in the right direction here.
> > I have a query producing the results I want - and storing the
> results in an array
> > keyword[i][1]= keyword
> > keyword[i][2]= docArray[X][2]
> >
> > The data is stored exactly the way I need it as the docArray array
> has all of the values associated with the individual keyword.
> >
> > My question is how do I access the individual values int he
> docArray?
>
> in docarray or in the copy you sent to keyword?
>
> > All of my attempts have failed. I "dumped" my result set and a
> portion of it is below.
> > The keyword is 2010 Halloween Head, How do I access the values of
> the second dimension of 452, HH107 etc?
>
> No idea what you mean here - but to access the second dimension of an
> array it would be:
>
> <cfset someval =
somearry[index][index2]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5219
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm