IIRC, you have to #evaluate(newstext)# *note there are no quotes* to get CF
to process the contents -- otherwise, CF assumes it's just text.
--Ben Doom
Programmer & General Lackey
Moonbow Software
: -----Original Message-----
: From: Josen Ruiseco [mailto:[EMAIL PROTECTED]]
: Sent: Thursday, November 21, 2002 3:10 PM
: To: CF-Talk
: Subject: Evaluate a variable stored in a database?
:
:
: I have text in a database record with a variable containing a dynamic
: value that gets evaluated at display time.
:
: Here is the value of "NewsText" coming from the "News" query listed
: below:
:
: ...blah, blah, blah some text <a href="#textHere#">some more</a>
: text...
:
: The record is displayed within the following:
:
: <cfoutput query="News">
: #NewsTitle#
: #NewsText#
: </cfoutput>
:
: #NewsText# (which is evaluating fine) contains the string <a
: href="#textHere#"> of which #textHere# will not evaluate for some
: reason.
:
: It seems that ColdFusion will not reach inside the #NewsText# value to
: evaluate #textHere#.
:
: Anyone with ideas?
:
:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.