Skip to main content
Inspiring
May 10, 2006
Answered

value fetch from db

  • May 10, 2006
  • 1 reply
  • 271 views
Inclusive dates of leave are # <input name="leavedate" size="30" maxlength="30" value="#variables.leavedate#">.

The above value is stored in database named "testcolumn".

when I fetch that value to print out using following codes
<cfset variables.curValue = testqueryname.testcolumn>
<cfoutput>#Evaluate(DE(variables.curValue))#</cfoutput>

I got an error as below:

ColdFusion was looking at the following text:
<
The CFML compiler was processing:
< marks the beginning of a ColdFusion tag.Did you mean LT or LTE?
an expression beginning with "\"", on line 1, column 1.This message is usually caused by a problem in the expressions structure.

Can anyone help me what I did wrong? thanks
This topic has been closed for replies.
Correct answer HandersonVA
I found out why. I put ## to escape #
thanks

1 reply

HandersonVAAuthorCorrect answer
Inspiring
May 10, 2006
I found out why. I put ## to escape #
thanks