Chapter 49: Using Program Flow in ColdFusion MX

 < Day Day Up > 



 Download CD Content

Overview

So far the ColdFusion templates you've built have been designed to handle only one set of circumstances. That is, you built them to perform a set of actions one after another, in a linear fashion, without having to make any decisions along the way. But because CFML is a programming language, you may have guessed that it has additional tools that enable you to handle multiple conditions.

In this chapter, you learn how to use a powerful family of tags called <cfif>, first to display a custom greeting based on your user's referring URL, and later, to build a simple, form-based poll allowing users to record their opinions on an issue.



 < Day Day Up > 



Macromedia Studio MX Bible
Macromedia Studio MX Bible
ISBN: 0764525239
EAN: 2147483647
Year: 2003
Pages: 491

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