Looping Search Results

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29749
interpreted = N
texte = When I use the following code, the results appear as they should, but appear several times. That is, if it finds 8 items that match the search criteria, it displays all 8 in the table, but then displays the table 8 times. Each table displays identical results.How can I make it display the 8 found items only one time?Thanks, Glenn Plantsonline.com - [grower] [Include file=POLHeader.inc]

[search db=p4s.db&eqgrowerdatarq=[url][grower][/url]&eqMasterCategorydatarq=[url][Ma sterCategory][/url]&asNamesort=1&asSKUsort=2&max=20&startat=[url][startat][/ url]]

[grower] has [numFound] Items in the [mastercategory] Category

[foundItems] [hideif [Inv]<1] [/hideif][showif [Inv]<1][/showif][/foundItems]
ANLA DesignationNameAvailabilitySizePrice 
[SKU]
[grower]
[Name]
[CommonName]
[showif [Inv]>1][Inv][/showif] [showif [Inv]<1]0[/showif][Size][showif [Inv]>1]$[format .2f][price][/format] [/showif] [showif [Inv]<1] [/SHOWIF]Details [showif [hasPhoto]=T]with Photo[/showif][showif [Inv]>1]Add to your
Order
[/showif]

[showif [shippingrestricted]=T]Cannot Ship To [cannotshipto][/showif]
Not Currently Available

[shownext] See [Category] [start]-[end] [/shownext][/search]

Return to List of GrowersView Your Order
------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Looping Search Results - Duh! (WebDNA Support 2000)
  2. Re: Looping Search Results - Duh! (Glenn Busbin 2000)
  3. Looping Search Results (Glenn Busbin 2000)
When I use the following code, the results appear as they should, but appear several times. That is, if it finds 8 items that match the search criteria, it displays all 8 in the table, but then displays the table 8 times. Each table displays identical results.How can I make it display the 8 found items only one time?Thanks, Glenn Plantsonline.com - [grower] [Include file=POLHeader.inc]

[search db=p4s.db&eqgrowerdatarq=[url][grower][/url]&eqMasterCategorydatarq=[url][Ma sterCategory][/url]&asNamesort=1&asSKUsort=2&max=20&startat=[url][startat][/ url]]

[grower] has [numFound] Items in the [mastercategory] Category

[founditems] [hideif [Inv]<1] [/hideif][showif [Inv]<1][/showif][/foundItems]
ANLA DesignationNameAvailabilitySizePrice 
[SKU]
[grower]
[Name]
[CommonName]
[showif [Inv]>1][Inv][/showif] [showif [Inv]<1]0[/showif][Size][showif [Inv]>1]$[format .2f][price][/format] [/showif] [showif [Inv]<1] [/SHOWIF][cart]&sku=[url][sku][/url]>Details [cart]&sku=[url][sku][/url]>[showif [hasPhoto]=T]with Photo[/showif][showif [Inv]>1][cart]&db=POL.db&sku=[url][sku][/url ]>Add to your
Order[/showif]

[showif [shippingrestricted]=T]Cannot Ship To [cannotshipto][/showif]
Not Currently Available

[shownext] [cart]&category=[url][category][/url]&startat=[s tart]>See [Category] [start]-[end] [/shownext][/search]

[cart]>Return to List of Growers[cart]>View Your Order
------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Glenn Busbin

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:

IE Cache Problems... (1999) Cart creation techniques (was Problems with Price field) (1997) Retaining data (2003) Misunderstanding?? (1997) TCPConnect to Telnet (2003) Uh...can someone help me out with the b10? (1997) Deleting Multiple Database Records based on Checkbox (1998) need help please (1997) WebMerchant - MacAuthorize (1999) Emailer choke (1997) I assume it is a safe bet this does not help (1998) [isfile] ? (1997) Nested Loops and SHOWIFs (1997) Robert Minor duplicate mail (1997) Webcat 4.0.x and apache 2.x (2002) One more time (1997) Possible Bug in 2.0b15.acgi (1997) can WC render sites out? (1997) multiple credit card merchant accounts/processors (1997) [WebDNA] Date weirdness (2014)