Phillip M. Vector wrote:
> Ian Skinner wrote:
>   
>> <div class="FAQQuestion">
>>     #Question#
>> </div>
>>
>> Is ColdFusion seeing that as 'variables.question' or 
>> 'variables.FAQ.question' you have both on this block of code.  And it may 
>> not be picking the one you want to output.  If so then be specific in which 
>> one you want.
>>     
> Thanks. I can name them Q and A and use that (Yup. Tried it and it works).

Or just be specific in what you wanted to output.  Modifying your 
original code in the following manner will achieve the exact same result 
as changing the variable names, and demonstrates a better practice of 
scoping your variables.  I hope you at least wrote that as 'variables.q' 
and 'variables.a'! :-)

<div class="FAQQuestion">
    #variables.Question#
</div>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313759
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to