Is it inside a loop over a query?  If so then scope your outputed variables
in those div elements.  Also do not need the pound signs in your two cfsets
both on the replace functions and the usercount variables.

On Fri, Oct 10, 2008 at 1:40 PM, Phillip M. Vector <
[EMAIL PROTECTED]> wrote:

> So why isn't this working then?
>
>        <cfset UserCount = #Users.Recordcount#>
>        <cfset Question = #Replace(FAQ.Question, '$$UserCount$$',
> #usercount#,
> "ALL")#>
>        <cfset Answer = #Replace(FAQ.Answer, '$$UserCount$$', #usercount#,
> "ALL")#>
>
>        <a name="#FAQ.FAQID#"></a>
>        <div class="FAQQuestion">
>                #Question#
>        </div>
>        <P>
>        <div class="FAQAnswer">
>                #Answer#
>        </div>
> Azadi Saryev wrote:
> > another alternative may be to get your users.recordcount number in a
> > variable in the page that displays the answer, and in your text in db
> > store a placeholder, like $$usersnumber$$, and then at cfoutput replace
> > the placeholder text with the actual number from the variable in the
> page.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:313738
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