including multiple DBs in the form

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

including multiple DBs in the form

Post by Thunderstone »




HI,
Can I include multiple DBs in the search form ????

For example
---------------------------------------------
<SELECT NAME=db>
<OPTION VALUE="db">temp1
<OPTION VALUE="db1">temp2
<OPTION VALUE="db,db2">temp3
<OPTION VALUE="db1,db2">temp4
</SELECT>
---------------------------------------------

Where db db1 and db2 are 3 separate DBs indexed on different portions/dirs of
the website.

Thanx much
Sumant

PS : Is there any section at www.thunderstone.com which talks about different
types of using the search form....I mean

simple search
search with radio buttons
search with combo box ?? etc ?




WORK:
Software Engineer
NeoTrax Inc,
7901 Stoneridge Dr, Ste 220
Pleasanton CA 94588 USA
Ph : (925)460 9085

HOME:
4251, Loch Lane
San Leandro
CA 94578 USA
Ph : (510)895 1845

It is not necessary to understand things in order to argue about them.
- Pierre Augustin Caron de Beaumarchais

<a href = 'www.PersonalMD.com'> www.personalMD.com </a>
Your trusted source for better managing your health



User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

including multiple DBs in the form

Post by Thunderstone »



The first two (temp1 and temp2) will work. The others won't with the
default script. If you want to search multiple databases with one submit
you'll need to modify the search script to perform the query on one db,
switch to the other db, and perform the query again. Check out the list
archive at http://www.thunderstone.com/texis/webinator/listproc/
Try searching for:
search multiple databases

See the vortex docs at http://www.thunderstone.com/vortexman/ for tools
that aid in creating radio buttons and list boxes, such as
<radiobutton>, <options>, etc. .



Post Reply