Hi,
In coldfusion we print as <cfoutput>#variable#</cfoutput> but if I want to print # sign that is output will be #. how to do that ?

Recommended Answers

All 2 Replies

Double the pound signs. ie Use ## instead of #

examples:
<cfset value = "print ## sign">  
<cfoutput>print ## symbol</cfoutput>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.