Steve O That's what I thought I was doing in the first place. Nothing worked, which eventually led to this post.
Perhaps somewhere along the way, I lost one of the double quotes. My previous comment about damn quotes stands. But yes, I tried it now and it works. Steve Clifton (is that you as well, Steve O ?) Yes, that's the format I finally used. > either way, whats the use in encoding a string what onlu has alpha chars? > > <cfset name = "steve"> > <a href="index.cfm?name=#URLEncodedFormat(name)#"> > > your still gonna end up with index.cfm?name=steve > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Adam > Chapman > Sent: Thursday, 20 March 2003 2:05 PM > To: CFAussie Mailing List > Subject: [cfaussie] RE: How to parse text as a parameter in a URL > > > Hey Andrew, > > Looks like your missing a closing double-quote on > The HREF attribute.. That > could be causing some > Unexpected results.. > > <A HREF="SameSurname.cfm?Sur=#URLEncodedFormat(Sur)#> > > Should be > > <A HREF="SameSurname.cfm?Sur=#URLEncodedFormat(Sur)#"> > (#SameSur.RecordCount# Customer(s) with same surname) </A> > > Seeeya, > Adam > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Andrew > Dickinson > Sent: Thursday, 20 March 2003 1:50 PM > To: CFAussie Mailing List > Subject: [cfaussie] RE: How to parse text as a parameter in a URL > > > Still no change. > > The format Mark mentioned is the same as on > http://livedocs.macromedia.com/cf50docs/CFML_Reference/Functions243.jsp# > 1114140 > > > So the official help recommended still don't work. > > I also tried encasing Sur in single quotes - again no change. > > I'm using CF4 - does this make a difference ? > > > > Try > > > > <A HREF="SameSurname.cfm?Sur=#URLEncodedFormat(Sur)#> > > (#SameSur.RecordCount# Customer(s) with same surname) </A> > > > > Cheers > > > > Mark > > > > > > ______________ > > Mark Stanton > > Web Production > > Gruden Pty Ltd > > Tel: 9956 6388 > > Mob: 0410 458 201 > > Fax: 9956 8433 > > www.gruden.com > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > MX Downunder AsiaPac DevCon - http://mxdu.com/ > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
