> <cfquery datasource="#request.dsn#" name="qGetBodyContent">
> SELECT bodyText_content
> FROM tbl_bodyText
> WHERE FK_page_id = #page_id#
> </cfquery>
>
> <cfreturn qGetBodyContent>
> </cffunction>

Looks like if you want to return a string of html, you want to do:
<cfreturn '#qGetBodyContent.bodyText_content#' />

You could leave your returntype "any" or change it to "string" - changing it 
to "string" would be best practice since that is what you are actually 
trying to do - return a string of html from your method.

-- Josh 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273330
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to