"Phill Gibson" <[EMAIL PROTECTED]> wrote:
> <a href="www.domain.com/process.cfm?var1=2#1
> 276*NP/W/WWV.Y\,1]4OG>click here to proceed</a> See that space
> still there?
If you're going to make a URL with the value of a variable that
could contain characters that are special or not allowed in
URLs (including spaces), you need to use the URLEncodedFormat()
function.
<CFOUTPUT>
<a href="process.cfm?var1=#URLEncodedFormat(var1)#">Link</a>
</CFOUTPUT>
Keith C. Ivey <[EMAIL PROTECTED]>
Webmaster, EEI Communications
66 Canal Center Plaza, Suite 200
Alexandria, VA 22314
Telephone: 703-683-0683
Fax: 703-683-4915
Web Site: http://www.eeicommunications.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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