----- Original Message -----
From: Deva Ramesh <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 19, 2000 12:42 AM
Subject: concatenating the two variables


> hi all
>
> actually here problem is if i specify attributes.heading1 with in the
> cfoutput tag then i can see the variable's value.
> but i don't want like that.  i want evaluate the values like
> attributes.heading1 and 2 and 3 so.on thru loop ( i specified that code
also
> here)
> here i tried with following code by concatenateing attributes.heading and
i
> value. but its not evaluating. (here ln is recordcount)
> can any body help me.
>
> thanx
> ramesh
>
>
>
>
> <-- <cfoutput>
>
> #ATTRIBUTES.heading1#
> </cfoutput>
>  --->
>
> <cfoutput query="query2">
>
> <cfloop from ="1" to ="#ln#" index="i">
> #ATTRIBUTES.heading&#i##

Instead, try this:
<cfset attribures.heading & i>


>
> </cfloop>
>
> </cfoutput>
> --------------------------------------------------------------------------
----
> 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.

------------------------------------------------------------------------------
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.

Reply via email to