>>Yes, I know scoping my variables is a
good thing now and I will from now on when needed. But honestly, it so
rarely comes up as an issue

Right. A good practice to avoid trouble if you don't scope is at least 
to use different
names for variables in different scopes, especially with queries.
The problem with queries is that inside a <CFOUTPUT on a query, the 
query scope
become implicit and have precedence over the variables scope, but not 
outside.
Using different names will prevent confusions.

Like in your case <cfset FAQQuestion = Replace(FAQ.Question
instead of <cfset Question = Replace(FAQ.Question

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:313767
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to