> I've got a field in the database that stores information being
> displayed on a page which has CF variables in it.
>
> So then I do:
>
> <cfquery name="getinfo"....>
>       select p.text from pages p where id = #id#
> </cfquery>
>
> <cfoutput>#getinfo.text#</cfoutput>
>
> Except, the CF variables inside of the field "text" aren't parsed, they're
> just displayed as #variable#.  Even if I wrap them in <cfoutput>'s in the
> info stored in the db.
>
> I hope I'm being clear.  I certainly feel like I'm talking in circles.
>
> Any ideas?  I suppose I could do a Replace() on the var once I extract it,
> but it doesn't seem like I should have to...

What's actually in the database?
If it says what's being returned, then that's your problem

Another point is that "text" is a reserved word in some databases, so you
might have to alias it

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to