> Does anyone know how to pass a hash through a string that is
> being processed without setting off cold fusion, eg how to
> encode it so CF will ignore it?
>
> I've got to target an anchor from a query string burried in
> the middle of a query output.  Usually I'd just make sure
> that part was not being processed, but in this case I'm
> stumped.  I'd like to do <a
> href="listingdetail.cfm?newimage=#PhotoID#&ListingID=#ListingI
> D#'#photo'">
> but this obviously does not work.  I've tried double and
> single quotes.
>
> Thanks very much if anyone could point me in the right direction...

Thanks for asking the question 29 times...

Anyways, double the # and it'll work, so
href="listingdetail.cfm?newimage=#PhotoID#&ListingID=#ListingID#'##photo
'">

Although in an A HREF, you won't want those apostrophies at the end



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137871
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to