> How so? If your concern is that the value passed may not be numeric, both
> will do the same thing. The only difference is that CFQUERYPARAM may also
> improve database processing performance.

At least with CFQueryParam it gives you error control over your passed
variables, so if there is something wrong you can trap it..

With Val it will pass 0 on a string value... but won't tell you if the user
has entered an incorrect entry...

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to