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:

Nice package (1998) SET (1998) Ok here is a question? (1997) system crashes, event log (1997) Mac: LModelDirector bug fix (1997) Calendar (1997) WebCat2 Append problem (B14Macacgi) (1997) Re:Variable Math (1998) emailer (1997) HELP WITH DATES (1997) XMLparse odd behaviour (2004) Talk List Suggestions (1997) [Cart] ... (1997) RE: completed orders database (1997) text area input and convertchars (2002) Searching Multiple DBs (1997) Ok here is a question? (1997) Multiple Ad databases? (1997) More on ShippingCost help needed (1998) [OT] Industry standard for missing orders (2003)