344
<CFOUTPUT QUERY="employees">
<CFSCRIPT>
//'testres' is a column in the "employees" query
if( testres EQ 1 )
else
</CFSCRIPT>
<!--- The variable result takes its
value from the script region --->
Test for #name# is #result#.
</CFOUTPUT>
result="positive";
result="negative";
Developing Web Applications with ColdFusion
Need help?
Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?