Re: & in Lookups

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15725
interpreted = N
texte = At 9:07 AM -0800 12/18/97, Kenneth Grome is rumored to have typed: > >I have a LOOKUP that returns a legal message if it doesn't find anything. > > > >[LOOKUP > >db=legal.db&value=[sku]&lookinfield=SKU&ReturnField=Legal&NotFound=Some > >legal text including © and ®] > > > >I want it to display the registered and copyright symbols, but it chokes on > >the & in the HTML. > > > >Is there a way to force the ampersand through? > > Did you try & ?Sorry, I should have been more specific. The LOOKUP returns the NOTFOUND message, but truncates it after the first &. My lookup would return:Some legal text including Thus, putting & wouldn't do much good.MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Associated Messages, from the most recent to the oldest:

    
At 9:07 AM -0800 12/18/97, Kenneth Grome is rumored to have typed: > >I have a LOOKUP that returns a legal message if it doesn't find anything. > > > >[LOOKUP > >db=legal.db&value=[sku]&lookinfield=SKU&ReturnField=Legal&NotFound=Some > >legal text including © and ®] > > > >I want it to display the registered and copyright symbols, but it chokes on > >the & in the HTML. > > > >Is there a way to force the ampersand through? > > Did you try & ?Sorry, I should have been more specific. The LOOKUP returns the NOTFOUND message, but truncates it after the first &. My lookup would return:Some legal text including Thus, putting & wouldn't do much good.MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Michael Winston

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat/CyberStudio Compatibility (1998) Web Developer Product Awards (1997) Carriage Returns on mail receipt (2002) Summary search -- speed (1997) [searchString] (1997) Multiple prices (1997) Linux problems (2000) New install permissions (2003) Associative lookup style? + bit more (1997) Web Catalog 2 demo (1997) WebDNA equivalent for $REQUEST_URI (2004) Re:no [search] with NT (1997) Sorting by date (1997) The [shownext] limitations (2002) Help name our technology! I found it (1997) WCS Newbie question (1997) Some Questions (1997) Mac v. NT (1998) How bad an idea is it to put cart=[cart] on all links? (2000) Cart Question (1998)