> Which of these is best? > 1. > <cfset x = getValues[colname][rownum]> > <CFINPUT Name="#x#" value="#DefaultValue#"> > > 2. > <cfset x = #x#+1> > <CFINPUT Name="#getValues.ColName##x#" value="#DefaultValue#"> > > 3. > <CFINPUT Name="#getValues[colname][rownum]#" value="#DefaultValue#">
Considering that (1) and (3) will do one thing, and (2) will do something else, I don't know - it depends on what you're trying to do. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

