CFif NEQ operator
cfifNEQOperator.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfif NEQ operator - how to use (NEQ) operator in cfif condition</title>
<style type="text/css">
.divCSS
{
background-color:Crimson;
color:White;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:large;
width:400px;
height:60px;
text-align:center;
padding-top:10px;
border:thick;
border-style:dotted;
}
</style>
</head>
<body>
<h2 style="color:SeaGreen; font-style:italic">coldfusion cfif tag example: how to use "NEQ" operator</h2>
<hr width="575" align="left" color="LawnGreen" />
<br />
<cfset UserRole="Guest">
<div class="divCSS">
<cfif UserRole NEQ "Admin" >
Sorry guest are not allowed to see the secret number!
<cfelse>
Wellcome!<br /> your secret number is: 255
</cfif>
</div>
</body>
</html>
- cfqueryparam- how to use cfqueryparam in cfquery tag
- How to use cfsqltype in cfqueryparam tag in ColdFusion
- How to cache query data in session scope in ColdFusion
- How to use NOT EQUAL operator in cfif condition in ColdFusion
- ColdFusion - How to use IS NOT operator in cfif conditional processing
- How to use variable prefixes in ColdFusion
- How to get coldfusion DataSource list programmatically
- How to dump and get output server variables in coldfusion
- How to create a border type layout in ColdFusion
- How to determine whether a file exists in ColdFusion