Hi,

I have content store in the database with cfm tag in the content, when I
retrieve the content from the database and display it on the cfm page, it treats
the content as string, it does not process the cfoutput tag

here is my code

<CFQUERY NAME="GetBody" DATASOURCE="text">
SELECT      tblDocument.Doc_Title, tblDocument.Doc_Body,
tblMenu.menu_img, tblMenu.menu_url, tblDocument.Doc_ID
FROM         tblDocument, tblMenu
WHERE       tblDocument.Doc_Title = 'FAQ'
ORDER BY  tblDocument.Doc_ID
</CFQUERY>

   <cfoutput query="GetBody">

   #Doc_Body#<br>
  </cfoutput>



  the content as shown below: this is in the database

  <p class="big">Frequently asked questions:</p>

   <!-- CONTENT STARTS HERE
  ********************************************* -->
   <ol><cfloop query="Getfaq">
   <li>  <A href="#faq_url#">#faq_title#</A> </li>
   </cfloop>
   </ol>
  <!-- CONTENT STOPS HERE
  ********************************************* -->

  <br><p class="bold">This is shortcut Admin function - <a
  href="faq_admin.cfm" target="_blank">List all of FAQ</a></p><br>



  Can I retrive the content with cfm tag in the content and displya it on the
  cfm page?

  thank you for any suggestion

  YC





yep.. it's out, download the eval:

http://www.macromedia.com/software/coldfusion/

-erki
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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