macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: Struct question

Subject: Re: Struct question
From: "dkerr"
Date: Mon, 13 Aug 2007 02:40:39 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
I noticed that the array brackets disappear  and having the bracket i is 
critical. See attached code.

 <cfloop from="1" to="#ArrayLen(mydata.outdata)#" index="i">
 <cfoutput>
 #mydata.outdata[i].LastName#:#mydata.outdata[i].email#<br>
 </cfoutput>
 </cfloop>


<Prev in Thread] Current Thread [Next in Thread>