Re: Showif for mulitple variations

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14761
interpreted = N
texte = >>Is there some easy way to do something like: >> >>[showif [SKU]=47,58,112,213] blah,blah,blah [/showif] >> >>right now I am doing: >> >>[showif [SKU]=47] blah,blah,blah [/showif] >>[showif [SKU]=58] blah,blah,blah [/showif] >>[showif [SKU]=112] blah,blah,blah [/showif] >>[showif [SKU]=213] blah,blah,blah [/showif]Wouldn't it be simplest to have a database such as:SKUnum action 47 blah,blah,blah 58 blah,blah,blah 112 blah,blah,blah 213 blah,blah,blah ...Then do a [lookup]? Seems like it would make it easier to modify what those blah,blah,blah actions do in the future as well.Rob MarquardtDesigner/Resident Wirehead, Toast Designwww.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Showif for mulitple variations (Rob Marquardt 1997)
  2. Re: Showif for mulitple variations (Brian B. Burton 1997)
  3. Re: Showif for mulitple variations (Christer Olsson 1997)
  4. Re: Showif for mulitple variations (Kenneth Grome 1997)
  5. Re: Showif for mulitple variations (Brian B. Burton 1997)
  6. Showif for mulitple variations (Brian B. Burton 1997)
  7. Re: Showif for mulitple variations (Grant Hulbert 1997)
>>Is there some easy way to do something like: >> >>[showif [SKU]=47,58,112,213] blah,blah,blah [/showif] >> >>right now I am doing: >> >>[showif [SKU]=47] blah,blah,blah [/showif] >>[showif [SKU]=58] blah,blah,blah [/showif] >>[showif [SKU]=112] blah,blah,blah [/showif] >>[showif [SKU]=213] blah,blah,blah [/showif]Wouldn't it be simplest to have a database such as:SKUnum action 47 blah,blah,blah 58 blah,blah,blah 112 blah,blah,blah 213 blah,blah,blah ...Then do a [lookup]? Seems like it would make it easier to modify what those blah,blah,blah actions do in the future as well.Rob MarquardtDesigner/Resident Wirehead, Toast Designwww.toastdesign.com Rob Marquardt

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:

[protect] on NT? (1997) absolute paths for databases? (1997) Buying sans cart (1997) problems with 2 tags shakur (1997) [OT] Am I an Idiot? (2004) [WebDNA] OT - some girls like guys for their WebDNA (2010) Adding Multiple Items to Shopping Cart from a Results page (1997) Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) Order not created error (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Request Time Out (1997) [interpret] inside the db field? (1997) New Site Announcement (1998) So when do we get something similar? (1998) Storebuilder, Smith-Micro Tech Support (2000) [ConvertChars] problem (1997) problems with 2 tags (1997) dos performance (1998) My server admin needs help ... (2004) Line items in table cells (1997)