you have to put a

<CFOUTPUT> </cfoutput>
around the variables

or <CFOUTPUT query="blah">

<CFOUTPUT> has to be around all ## variables in order to be processed as
anything other then text/html


Bill Wheatley
Director of Development
Allaire Certified ColdFusion Developer
AEPS INC
Allaire ColdFusion Consulting Partner
www.aeps.com
www.aeps2000.com
954-472-6684 X303
ICQ: 417645



----- Original Message -----
From: "Steve Reich" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, March 25, 2001 4:10 PM
Subject: CF Variables in database...


> I have data in my database that contains CF varaibles. For example,
"Hello,
> Mr. #lname#" might be in my database. I call this data from a query and
> insert it into a page that has lname defined. So I want it to assign a
value
> to the variable. But when I out the code, it is returned as #lname#,
> complete with pound signs and CF ignores it.
>
> How can I run a query that returns variables to be processed by CF server?
>
> Thanks,
> Steve
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to