Re: little help
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37363
interpreted = N
texte = You can not use [numfound] with in a [founditems] loop.If you need to use the value of [numfound] within the [founditems] loopfor some reason, you have to assign the [numfound] value beforestarting the [founditems] loop. I usually do this by using a variable[text]theNumfound=[numfound][/text]RegardsAnup----- Original Message -----From: Rudy
To: WebCatalog Talk Sent: Tuesday, July 24, 2001 9:06 AMSubject: little help> A search is conducted.>> [search db=somedatabase.db . . . etc.]> [founditems]> [showif [numfound]=0]> BLAH> [/showif]> [showif [numfound]!0]> BLAH> [/showif]> [/founditems]> [/search]>> Now when I test for both circumstances, the first showif circumstance (the> one numfound =0) doesn't appear and doesn't work, but the second> circumstance does. When the founditems tags are removed, the first> circumstance works, but the second one does not. So I solved the problemby> doing this.>> [search db=somedatabase.db . . . etc.]> [showif [numfound]=0]> BLAH> [/showif]> [showif [numfound]!0]> [founditems]> BLAH> [/showif]> [/founditems]> [/search]>> Remember that I'm the new guy here. I'd like to know why my problemoccurred> and whether my solution to it is valid. Thanx in advance . . .>> -------------------------------------------------------------> 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> Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
You can not use [numfound] with in a [founditems] loop.If you need to use the value of [numfound] within the [founditems] loopfor some reason, you have to assign the [numfound] value beforestarting the [founditems] loop. I usually do this by using a variable[text]theNumfound=[numfound][/text]RegardsAnup----- Original Message -----From: Rudy To: WebCatalog Talk Sent: Tuesday, July 24, 2001 9:06 AMSubject: little help> A search is conducted.>> [search db=somedatabase.db . . . etc.]> [founditems]> [showif [numfound]=0]> BLAH> [/showif]> [showif [numfound]!0]> BLAH> [/showif]> [/founditems]> [/search]>> Now when I test for both circumstances, the first showif circumstance (the> one numfound =0) doesn't appear and doesn't work, but the second> circumstance does. When the founditems tags are removed, the first> circumstance works, but the second one does not. So I solved the problemby> doing this.>> [search db=somedatabase.db . . . etc.]> [showif [numfound]=0]> BLAH> [/showif]> [showif [numfound]!0]> [founditems]> BLAH> [/showif]> [/founditems]> [/search]>> Remember that I'm the new guy here. I'd like to know why my problemoccurred> and whether my solution to it is valid. Thanx in advance . . .>> -------------------------------------------------------------> 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> Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Anup Setty
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:
[WebDNA] directory protection questions (2008)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
Newbie problem blah blah blah (1997)
Re:Formulas.db / Quantity Discount problem (1998)
ftp to webstar (2001)
WebCat2 several catalogs? (1997)
Strange conversions (2001)
[WebDNA] High-profile WebDNA sites? (2008)
Protect (1997)
WYSIWYG Editor? (2006)
Security Hole - NetCloak Update (1998)
Database Not Found Problem (2004)
Howard Wolosky Please contact me (2003)
[WebDNA] Shopping cart code debug (2009)
New Site Announcement: MusicianStore.com goes live with (1998)
Smith Micro - no competition (2000)
OT - royalty free images (2002)
Shipping cost out of synch (1998)
Database Options (1997)
[WebDNA] Secure Cookies (2020)