You need to URLEncode the string or place quotes around the string, preferably the URLEncode is the best choice.
Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of TJS Sent: Friday, 5 October 2007 2:53 AM To: cfaussie Subject: [cfaussie] Passing the '&' symbol in a URL. Hi, I was wondering whether anyone knew if coldfusion had a special function that could read the & symbol passed into a URL - rather than treating it as a URL appendage? i.e: ?Category=Tables&Chairs&Category2=Leather On the receiving page... Field1 = 'URL.Category' Field2 = 'URL.Category2' My problem is that:- Field1 = Tables -- and should be -- Field1 = Tables&Chairs In my database, there are many & symbols, and when this is passed in the URL, anything after the & symbol is dropped. Hopefully Coldfusion has an easy fix to this. Thanks in advance for any advice. Cheers, Travis. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
