congrats on the fix...

Incidentally, you should also use urlencodedformat() around that value
before using it in a link... i.e. <A
HREF="process_path.cfm?LID=#urlencodedformat(couponhref)#" ...
otherwise you'll run into problems if the couponhref variable has
certain characters in it... technically the whole href attribute
should also be in an htmleditformat() function, but that's a whole
other can o' worms I won't get into right now. :)


> Thanks, actually it was a DB problem. I'm using access and
> it automatically
> assigned the value of the field to a hyperlink. For some
> reason the DB puts
> in #'s by itself when using a hyperlink data type. All I
> had to do was
> switch it to a text field and things fixed itself.

> Thanks again,

> Phil

> On Fri, 7 Jan 2005 15:08:01 -0500, Phillip Perry
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> can someone tell me why the # is showing up in the
>> following lines?
>>
>> <cfoutput query="GetInfo2">
>> <A HREF="process_path.cfm?LID=#couponhref#"
>> TARGET="_blank">
>>
>> For some reason It's showing the value of couponhref but
>> its also
> displaying
>> the #. So the link looks like this on the page...
>>
>> <a href="process_path.cfm?LID=#http://www.blah.com#";
>> Target="_blank">
>>
>> Any thoughts? I tried to put the couponhref in a separate
>> variable name
> but
>> that didnt work either.


s. isaac dealey   954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the mailserver that powers this list at 
http://www.houseoffusion.com/banners/view.cfm?bannerid=17

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189687
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to