URLENCODEDFORMAT()

I l @ ve RuBoard

Used to make a variable safe to pass through a URL.

Syntax

 URLEncodedFormat(value_to_URLEncode) 

Parameters

String: The function must have a value to URL encode.

Example

 <!--- URL Encode a name before passing it to another template --->  <cfset name ="Doug Bentley"> <cfoutput>   <a href="name.cfm?name=#URLEncodedFormat(name)#">Name</a> </cfoutput> 
I l @ ve RuBoard


Macromedia ColdFusion 5. Training from the Source
Macromedia ColdFusion 5 Training from the Source (With CD-ROM)
ISBN: 0201758474
EAN: 2147483647
Year: 2002
Pages: 99
Authors: Kevin Schmidt

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