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:

WebMerchant Error (1998) Help formatting search results w/ table (1997) Removing carriage returns and line feeds (2006) letterrip and webcats emailer (1998) type 2 errors with ssl server (1997) Weird error/limit - something amiss? (1997) Using Plug-In while running 1.6.1 (1997) RE: Signal Raised (1997) Webcatalog quitting (1997) WebCat NT v. Mac (1997) New Plug-in and Type 11 errors (1997) WebTen? (1997) Online magazine- monthly updates and such (1999) [WebDNA] Anyone using WebDNA7 and Lion Server? (2011) [WebDNA] Databases not staying open (2010) Changes to the List (1997) Showif for mulitple variations (1997) Duplicate Cart #'s (1998) Size limit for tmpl editor ? (1997) emailer (1997)