| < Day Day Up > |
|
In this chapter, you learned how to add program flow to your templates by employing the <cfif> family of tags. You learned how <cfif> code blocks are used in conjunction with a condition statement, allowing your templates to handle a variety of situations. To further understand these concepts, you used <cfif> tags to build a page that sends a customized greeting to a user, depending on how the user arrived at your site. You also created a simple poll template, using <cfif> tags to create a single page containing both a form and the form's action.
| < Day Day Up > |
|