Re: Search in 2 or more catalogs
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10315
interpreted = N
texte = >ex : a product computer in a catalog1.txt an in catalog2.txt and have>all responses of the 2 calalogs in one response pageThis simple example should get you started:[search db=catalog1.txt&woDescriptiondata=computer] [foundItems] [xxx] [/foundItems][/search][search db=catalog2.txt&woDescriptiondata=computer] [foundItems] [xxx] [/foundItems][/search]Remember that you can use any form variables in place of text, like so:[search db=catalog2.txt&woDescriptiondata=[form.WhatToSearchFor]]In this case, the form you fill out to get to the template above would have a field named form.WhatToSearchFor, like so:
Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>ex : a product computer in a catalog1.txt an in catalog2.txt and have>all responses of the 2 calalogs in one response pageThis simple example should get you started:[search db=catalog1.txt&woDescriptiondata=computer]
[founditems] [xxx] [/foundItems][/search][search db=catalog2.txt&woDescriptiondata=computer]
[founditems] [xxx] [/foundItems][/search]Remember that you can use any form variables in place of text, like so:[search db=catalog2.txt&woDescriptiondata=[form.WhatToSearchFor]]In this case, the form you fill out to get to the template above would have a field named form.WhatToSearchFor, like so:
Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
Too many database headers? (2003)
Hosts who have upgraded to v5.0? (2003)
Images in WebCat (2000)
RE: Re:Signal Raised (1997)
Loss in form (1998)
Weird happenings when viewing in IE 3.02 (1998)
[WebDNA] Updating WebDNA 8.x to WebDNA 8.2 (2016)
How do I make this faster???? (2000)
user flush db (2002)
Some ThankYou page problems (1997)
WAP and IIS server (2002)
Sending E-mail (1997)
Running _every_ page through WebCat-error.html (1997)
WebCat2 - many [carts] on one template page? (1997)
Great product and great job ! (1997)
[shownext] and sort (1998)
WebCat2b12plugin - [search] is broken ... not! (1997)
Country & Ship-to address & other fields ? (1997)
webcat serving up 2+ versions of the same db? (2000)
database problem (2003)