Interpret twice?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14649
interpreted = N
texte = Hello.I'm trying to establish a group of rotating ads that ensure every ad is shown at least once. The problem is that I can not get the WebDNA to be interpreted as I'd like. The snippet below effectively gives the proper field name but I need the content of the field interpreted as well. (I tried [interpret][URL[Interpret][math]num[/math][/Interpret]][/interpret], which returned the field data but did nothing to the [cart] tag.)[math show=F]num=[include current]+1[/math] [search db=test.db&cart=[cart]&neiddata=0&idsort=1&idsdir=ra&max=3] [foundItems] [math show=F]num=[include current]+1[/math] [showif [math]num[/math]<1][math show=F]num=1[/math][/showif] [showif [math]num[/math]>3][math show=F]num=1[/math][/showif]
[URL[Interpret][math]num[/math][/Interpret]]
[/founditems][/search]The database contains: id URL1 1 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=[cart]&Titlesort =1&Titlesdir=as&max=50 2 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=[cart]&Titlesort =1&Titlesdir=as&max=50 3 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=[cart]&Titlesort =1&Titlesdir=as&max=50Ultimately I'd like to take the outcome of the above search and then interpret the data returned from the database. Is there an order of operations I can set up?Thanks,Nathan Hyde Internet Services Casady & Greene email: nh_is@casadyg.com, nhyde@mail3.casadyg.com web page: http://www.casadyg.com and now http://www.macbundle.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Interpret twice? (Grant Hulbert 1997)
  2. Interpret twice? (Nathan Hyde 1997)
Hello.I'm trying to establish a group of rotating ads that ensure every ad is shown at least once. The problem is that I can not get the WebDNA to be interpreted as I'd like. The snippet below effectively gives the proper field name but I need the content of the field interpreted as well. (I tried [interpret][URL[interpret][math]num[/math][/Interpret]][/interpret], which returned the field data but did nothing to the [cart] tag.)[math show=F]num=[include current]+1[/math] [search db=test.db&cart=[cart]&neiddata=0&idsort=1&idsdir=ra&max=3] [founditems] [math show=F]num=[include current]+1[/math] [showif [math]num[/math]<1][math show=F]num=1[/math][/showif] [showif [math]num[/math]>3][math show=F]num=1[/math][/showif]
[URL[interpret][math]num[/math][/Interpret]]
[/founditems][/search]The database contains: id URL1 1 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=[cart]&Titlesort =1&Titlesdir=as&max=50 2 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=[cart]&Titlesort =1&Titlesdir=as&max=50 3 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=[cart]&Titlesort =1&Titlesdir=as&max=50Ultimately I'd like to take the outcome of the above search and then interpret the data returned from the database. Is there an order of operations I can set up?Thanks,Nathan Hyde Internet Services Casady & Greene email: nh_is@casadyg.com, nhyde@mail3.casadyg.com web page: http://www.casadyg.com and now http://www.macbundle.com Nathan Hyde

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:

Separate SSL Server (1997) Database Updates (1997) [WebDNA] OSX Webdna Installer (2009) problems with 2 tags (1997) Post (1997) Client-side Image Maps and WebCat (what's a database-drivensite)? (1998) Mac System Experience (1998) wierd [cart] action! (1997) Globals Problem and now can't close databases (2003) WebCat2 several catalogs? (1997) Country & Ship-to address & other fields ? (1997) Format question WC Mac f3 (1997) [WebDNA] try/except (2015) WebCat editing, SiteGuard & SiteEdit (1997) Problems with [Applescript] (1997) Dark Horse Comics success story (1997) WebCat2.0 acgi vs plugin (1997) RedHat Linux glibc version 2.1.2 or higher required (2000) [WebDNA] Integration with QuickBooks (2011) RE: Cart Template (1997)