The database I am building is called 'cat2'. I was using 'olddb' simply as an example.
The database I just created is in the same directory as the default 'db' database. I checked the script and that seems to be pointing to the correct path.
<!-- Set default database -->
<DB = /home/httpd/htdocs/search/db>
I have a database called 'db' and I am using it. My 'cat2' database is new and is in:
/home/httpd/htdocs/search/cat2.
I set the database name as follows:
<!-- Set database name -->
<A NAME=setdb>
<$defaultdb = /home/httpd/htdocs/search/>
<IF $db eq "">
<$db = "db"> <!-- Default database -->
</IF>
<sum "%s" $defaultdb $db>
<sandr = $ret>
<DB = $dbdir>
<IF $db eq "db">
<$db = >
</IF>
</A>
you can try the search at
http://www.silverplatter.com/cgi-bin/texis/search/usa5.
The first radio button is set to search 'db'
the second radio button is set to search 'cat2'
the third radio button is set to search 'tech_support'
Does this look correct?
Thanks for the responses mark!! I really appreciate it!