Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing cf variables in database

Status
Not open for further replies.

minli98

IS-IT--Management
Aug 30, 2005
178
US
Hi,
I am storing in database some text that has coldfusion variables in it. For example:

Code:
This is page #url.pageNum#

When I retrieve this text from the db and display it using cfoutput, the #url.pageNum# does not get processed. Instead, it is shown as a text. What do I do in order to get the coldfusion variable be evaluated?

Thanks,
Min
 
This is page <cfoutput>#url.pageNum#</cfoutput>

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel. Covey
 
Hi Lyndon,

Thanks, but it doesn't work. It will just print out #url.pageNum#. The <cfoutput> does not process the variable.

Min
 
Send your source code.

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel. Covey
 
Hi Lyndon,

I got the answer at the adobe forum. Thanks!

Min
 
Link? Other folks may be looking for the same solution.

Phil H.
Some Bank
-----------
Time's fun when you're having flies.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top