One thing I haven't seen anybody else mention is that cfparam can be
used for data validation, using the type attribute.  For example, if you
are expecting an email address from a form, you can do a cfparam with
type="email" and CF will throw an error if the data doesn't match (the
email type is new to CF 7).
 
> -----Original Message-----
> From: Paul Ihrig [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 01, 2006 3:55 PM
> 
> ok.
> just looking at a bunch of code.
> 
> most pages use a combo of if & switch
> what are the reasons to use one over the other.
> 
> also what is the difference between cfset & cfparam.
> i know cfset sets the variable you want to be but dosnt 
> cfparam also do
> this?

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241985
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to