If you can guarantee only two second-dimension elements per first
dimension, this should work for you:
<cfloop index="n" from="1" to="#arrayLen(QNSDNC)#">
<cfoutput>#QNSDNC[i][1]# - #QNSDNC[i][2]#<br/></cfoutput>
</cfloop>
- Jim
Les Mizzell wrote:
>I've been working with one dimensional arrays up to this point..
>
>So, how do I output all values in the following (assume it's a question [1]
>/answer [2] pair):
>
>#QSNDSC[1][2]#
>
>Output like (for all questions and answers)
>
>question 1 - answer 1
>question 2 - answer 2
>question 3 - answer 3
>
>
>I've been awake wayyy too long today...
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community.
http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4