I have a DB text field that I display, but one of the words in the
text field needs to be a session variable. How do I tell CF
to output the variable value as opposed to the text.

Here is what I have:

<cfset session.name = "Bob">

<cfoutput query="getdata">
#messagetext#
</cfoutput>

The #messagetext# variable contains this, for example:
"Hello #session.name#, how are you".

nick
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to