Jonesy44 commented on a Page, Simple On/Off Script  -  Apr 01, 2009

Syntax: $iif(C,T,F)

Returns T or F depending on whether the evaluation of the Conditional C is true or false.

$iif(1 == 2, yes, no) returns "no"

If you don't specify the F parameter, $iif returns a T value if the condition is true, and returns nothing if it's false.

$iif(1 == 2, yes) returns nothing

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.