<cfloop index="x" from="1" to="5">
<cfoutput>#evaluate('Edname#x#')#</cfoutput>
</cfloop>
-----Original Message-----
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 4:56 PM
To: CF-Talk
Subject: append variable to a variable??
Is there anyway to do this?
I have six variables in my database they are called:
EdName1, EdName2, etc.
It would be awesome if I could set a variable that could dynamically change
the number of each variable for me so I don't have to hard code the
variable.
For example (I know this doesn't work but it will get my point across:
<cfset numvar = "2">
#EdName#numvar## = EdName2
Thanks for your help
Sal
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]