dont ask me will, im sure im doing it wrong! haha i was thinking bout what joe said and i looked at my code and realize that i do things the way do out of a habit from my medical days basically i need too see what its doing to be confident in it
good thing i dont have a "shop" to yell at me huh! ---------- Original Message ---------------------------------- From: Will Tomlinson <[EMAIL PROTECTED]> Reply-To: [email protected] Date: Thu, 13 Jan 2005 20:07:00 -0400 >I'm starting this thread to continue a discussion on file uploads, arrays, >etc.. > >I'm reading some on Jeff Peters book, Lists, arrays, and structures, and I'd >like to ask you guys what would be the best way to handle my form values, >looping them into a table. > >Let's say I had this for a form. ><cfset numberoffields = 5> > ><cfloop index="i" from="1" to="#variables.numberoffields#" step="1"> ><cfset filename = "file" & i> ><cfset titlename = "title" & i> ><input type="File" name="<cfoutput>#variables.filename#</cfoutput>" /> ><input type="text" name="<cfoutput>#variables.titlename#</cfoutput>" /> ><br /> ></cfloop> > >How would I build a flexible array or structure that ArrayAppend(ed) or >StructAppend(ed) my items into them. Then I loop over the array or structure >and insert the values into my table. > >What's the best method? Joe? dave? Could you provide a simple example? > >Thanks, > >Will > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190358 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

