IIf (condition,  string_expression1,  string_expression2) 


Evaluates a Boolean condition expression. Depending on whether the expression is true or false, it dynamically evaluates one of two string expressions and returns the result. This function is convenient for incorporating a cfif tag inline in HTML.


 <cfoutput>  #IIf(Month(Now())  GTE 6,   DE("It's not spring"),    DE("It might be spring"))#  </cfoutput>  

Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net