How to use CFsilent to suppress output in ColdFusion

cfsilent - suppress output

cfsilent.cfm


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfsilent: how to use cfsilent for suppress output in coldfusion</title>
</head>

<body>
<h2 style="color:DeepPink; font-style:italic">cfsilent tag example: how to use cfsilent</h2>
<hr width="400" align="left" color="OrangeRed" />
<br />

<h3 style="color:DarkSeaGreen">
 cfsilent tag block start...
</h3>
<cfsilent>
 <cfquery name="qEmployee" datasource="cfdocexamples" maxrows="5">
     SELECT Emp_ID, FirstName, LastName FROM EMPLOYEE
    </cfquery>
    
    <cfdump var="#qEmployee#">
</cfsilent>

<h3 style="color:DarkSeaGreen">
 ....cfsilent tag block end
</h3>

<cfdump label="Employee List" var="#qEmployee#">

</body>
</html>





More ColdFusion examples