What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: two unique banners on one page

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13379
interpreted = N
texte = >Well, just for those of you interested heres the final code I used, only >one database necessary: Hi Daniel,Good idea, using a variable to prevent the second search from retrieving the same record as the first search. I thought of doing it that way as well, but then I came up with a single-search solution that ought to work, too, although I haven't tested it: <--put this at the top of the page--> [search db=dbs/ad1.db &eqlivedatarq=Y&skusort=1&skusdir=ra&max=2] <--put this at the location of banner1--> [founditems] [showif [index]=1] [showif [website]!] [/showif] [showif [website]!] [/showif] [/showif] [/founditems] <--put this at the location of banner2--> [founditems] [showif [index]=2] [showif [website]!] [/showif] [showif [website]!] [/showif] [/showif] [/founditems] <--put this at the bottom of the page--> [/search]Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: two unique banners on one page (Kenneth Grome 1997)
  2. Re: two unique banners on one page (Grant Hulbert 1997)
  3. Re: two unique banners on one page (Kenneth Grome 1997)
  4. Re: two unique banners on one page (Grant Hulbert 1997)
  5. Re: two unique banners on one page (Olin 1997)
  6. Re: two unique banners on one page (Grant Hulbert 1997)
  7. Re: two unique banners on one page (Olin 1997)
  8. Re: two unique banners on one page (Daniel Cameron 1997)
  9. Re: two unique banners on one page (Daniel Cameron 1997)
  10. two unique banners on one page (Olin 1997)
>Well, just for those of you interested heres the final code I used, only >one database necessary: Hi Daniel,Good idea, using a variable to prevent the second search from retrieving the same record as the first search. I thought of doing it that way as well, but then I came up with a single-search solution that ought to work, too, although I haven't tested it: <--put this at the top of the page--> [search db=dbs/ad1.db &eqlivedatarq=Y&skusort=1&skusdir=ra&max=2] <--put this at the location of banner1--> [founditems] [showif [index]=1] [showif [website]!] [/showif] [showif [website]!] [/showif] [/showif] [/founditems] <--put this at the location of banner2--> [founditems] [showif [index]=2] [showif [website]!] [/showif] [showif [website]!] [/showif] [/showif] [/founditems] <--put this at the bottom of the page--> [/search]Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html Kenneth Grome

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:

HELP WITH DATES (1997) RE: How to verify email address (1997) Problems appending to database (1997) Re:Webmessage Hyperboard (1998) Opinion: [input] should be called [output] ... (1997) Database Options (1997) Extended [ConvertChars] (1997) Emailer setup (1997) WebCat2 Append problem (B14Macacgi) (1997) OH MY GOD! (1998) Possible Hijacking from Globix (2002) Nested tags count question (1997) Webcat table size. (2001) WebCommerce: Folder organization ? (1997) WC2b15 File Corruption (1997) Stinkin' [Referrer] (1998) Limitations on fields? Server is crashing (1997) [WebDNA] Function "libraries" (2009) [URL] around a [sendmail] recipient? - SEARCHING: command vs. context (2000) Explorer 3.0/ Access Denied! (1997)