• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Using Local Variables

As you can see from this chapter so far, <cfset> is very helpful in assigning values to variables. If the variable already exists, <cfset> resets the value.

A common problem in Web development is using variables when you are not sure they exist. The <cfparam> tag can assist you in this situation. If the tag:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint