nasa ---------------------------------------- From: "Doug Hyde" <[EMAIL PROTECTED]> Sent: Tuesday, February 01, 2005 9:52 PM To: CF-Talk <[email protected]> Subject: RE: How to make this URL variable work!
Another way would be to create a function with a regular expression to parse in/out the ampersand as the page calls prior to the functionality...leave it out of the link (for example, use '$$$' and then have the RE insert ' & ' above the query or function where you need it to be ' & '). Clunky, but would work. I don't mean to be smart, and someone almost said this already, but you should know that CF considers the "&" as a delimiter to indicate that there is a second (or third) variable to follow the first (eg. index.cfm?cat=shorts&type=summer) whether you like it or not, so right now it is thinking you have just defined a new variable called "jackets" for which you have set no value, which is why it drops jackets from the page locator. The other way would be to code "and" in your link, while displaying & in your graphic. My advice would be avoid "&" altogether and use "and", with or without spaces...or use URLEncodedFormat, or use an expression to parse in the value you need, in that order. D -----Original Message----- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 8:11 PM To: CF-Talk Subject: Re: How to make this URL variable work! I should've been more specific. I'm hard-coding this category name into the link. It isn't a variable at all. I tried using %20 for the spaces, that didn't work either. I guesss I COULD fix it by making the category name sweatpants&jackets with no spaces, but that seems lame. Give it a whirl by clicking sweatpants & jackets. http://209.200.88.199/index.cfm Any ideas? Thanks, Will ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192718 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

