I'm trying to set 52 variables to the same value. I'm not familiar with how
loops work, but here's what I've tried and hasn't worked:
<cfloop index="i" from="1" to="52">
<cfoutput>
<cfset person#i# = form.person>
</cfoutput>
</cfloop>
Result:
Just in time compilation error
Invalid parser construct found on line 5 at position 15. ColdFusion was
looking at the following text:
#
Invalid expression format. The usual cause is an error in the expression
structure.
I know it won't work without putting the index inside pound signs. How do I
set 52 variables - person1, person2, person 3... person52 using this loop?
Thanks,
Erika Foster
engineering-environmental Management
Applications Developer
(505) 866-1654
[EMAIL PROTECTED]
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.