Question
Replacing HTML characters
I'll keep this short and simple. Here's what I'm trying to
do:
<cfset qInfo.instructions=ReplaceNoCase(qInfo.instructions,">",">","all">
qInfo.instructions is used to populate a HTML cfformitem, so I want to replace all the <,>,and &. The above line is the first of three replacenocase statements and is throwing an 'Invalid CFML construct' error. What do I need to do differently?
<cfset qInfo.instructions=ReplaceNoCase(qInfo.instructions,">",">","all">
qInfo.instructions is used to populate a HTML cfformitem, so I want to replace all the <,>,and &. The above line is the first of three replacenocase statements and is throwing an 'Invalid CFML construct' error. What do I need to do differently?
