Am I trying to do the impossible?

Let's say I want to have this:

<cfset session.values.client_photos_200 = structNew()>

and the data I have is:

<cfset session.values.client_photos_200 = 
structAppend(session.values.client_photos_200, "red.jpg") />
<cfset session.values.client_photos_200 = 
structAppend(session.values.client_photos_200, "blue.jpg") />

Now I've got two pieces of a data in my struct.

How can I loop over this struct and output the data?

Or should I take a different approach to storing data and looping over it?

The idea is to form a structure of some sort to handle an indefinite number of 
file form fields
and output that data for display and for insertion into a db.

Thanks for any insight...

Rick 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:320413
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to