Actually, evaluate() would be perfect in this situation, because you're
referring to an array that doesn't exist, you actually need to evaluate a
dynamic string. However, you can also do this:
<cfloop from="1" to="10" index="idx">
Guest #idx#: #guestdetail["guest" & idx][1]#"<br>
</cfloop>
Note that the rowCounter ("[1]") would need to indicate the query row you're
pulling from.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317612
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4