Skip navigation
john85
Currently Being Moderated

Tag to make coldfusion skip parsing a certain block of code.

Jul 9, 2009 11:29 AM

Is there a tag to make coldfusion skipping parsing a certain code.

 

Example, I want coldfusion to output the following code without executing it.

 

<cfquery name="qryTest" datasource="myds">

SELECT * FROM dual

</cfquery>

 

should result as

 

<cfquery name="qryTest" datasource="myds">

SELECT * FROM dual

</cfquery>

 

not coldfusion executing the qryTest.

 
Replies
  • Currently Being Moderated
    Jul 9, 2009 11:42 AM   in reply to john85

    quotation marks

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 9, 2009 12:51 PM   in reply to john85

    Actually, that's the result of htmleditformat which is a better option.  The quotation marks would stop the code from executing, but the angle brackets would stop it from displaying.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points