Macromedia ColdFusion 5 Training from the Source (With CD-ROM)

I l @ ve RuBoard

<CFSET>

Used to create ColdFusion variables . If the variable has already been created, <cfset> overwrites the existing value.

Syntax

<cfset nameofvariable = expression>

Attributes

None

Example

<!---Create a variable holding today's date ---> <cfset today = dateformat(Now(), ":mm/dd/yy")>

I l @ ve RuBoard

Категории