Like I said if it is in a loop over a query then you need to scope the variables within the div elements. That is your problem.
On Fri, Oct 10, 2008 at 1:57 PM, Phillip M. Vector < [EMAIL PROTECTED]> wrote: > Here's the full code. > > <cfoutput query="FAQ"> > <cfset UserCount = Users.Recordcount> > <cfset Question = Replace(FAQ.Question, '$$UserCount$$', usercount, "ALL")> > <cfset Answer = Replace(FAQ.Question, '$$UserCount$$', usercount, "ALL")> > > <a name="#FAQ.FAQID#"></a> > <div class="FAQQuestion"> > #Question# > </div> > <P> > <div class="FAQAnswer"> > #Answer# > </div> > <HR> > </cfoutput> > > So yeah. it's looping fine. Just doesn't show any usercount. > > Aaron Rouse wrote: > > Is it inside a loop over a query? If so then scope your outputed > variables > > in those div elements. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:313755 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4