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:
Search inside Include (1998)
Not really WebCat (1997)
Limiting user access to .tmpl files (1997)
Poll Please (2002)
3+ Levels of Navigation (2006)
Frames and WebCat (1997)
[WebDNA] Silly question (2009)
orders with blanks or [xxx] literal text (2000)
show all problem (1997)
Image upload (2000)
[WebDNA] WebDNA 8.6 announced - New features (2018)
form data submission gets truncated (1997)
emailer (1997)
search/showif issues (2000)
TCPconnect to DNS (2000)
all db's in one folder and protected (1998)
writing orders to a db (1997)
popups, netscape vs explorer (1997)
Date search - yes or no (1997)
Emailer pref's won't save (2005)