Gossamer Forum
Home : Products : DBMan : Customization :

Simple Search Code... Having a hard time finding on thread.

Quote Reply
Simple Search Code... Having a hard time finding on thread.
All I want to do is drop down my 9 field database down to a three field search.

I want people to be able to input all 9 of the fields... but just be able to search on three.

I know the answer is out there... but I only get 50 results when I search and I'm not finding it.

I'm sorry.

Joe

------------------
Quote Reply
Re: Simple Search Code... Having a hard time finding on thread. In reply to
Rather than creating duplicate Threads, you should add replies to your original Thread!

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Simple Search Code... Having a hard time finding on thread. In reply to
Go to these Threads:

http://www.gossamer-threads.com/...m12/HTML/001193.html
http://www.gossamer-threads.com/...m12/HTML/000959.html
http://www.gossamer-threads.com/...m12/HTML/000765.html
http://www.gossamer-threads.com/...m12/HTML/000509.html

Found these Threads in less than minute using Exact Word Match in the search form
and with the following keywords html search form. This brought up 16 results of
which most were useful and relevant!

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Simple Search Code... Having a hard time finding on thread. In reply to
You da man.

Thanks for the help.
Lord knows if I have specifics... I'm coming to you. You appear to be the absolute resident expert!

I respect that.
Programming this kinda stuff makes no sense to me.

Joe
Quote Reply
Re: Simple Search Code... Having a hard time finding on thread. In reply to
I can help with debugging and also fixing problems with current Mods, but I am finished writing Mods for these scripts. Too many headaches and frustrations.

Wink

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Simple Search Code... Having a hard time finding on thread. In reply to
I want a simple search outside of the templates that I use. I made a form and pointed it to the db,
When I submit I get from dbman:
Error: Unknown Action
UserID:default

<form action="http://www.hampton-houses.com/hampton-housescgi/dbman/db.cgi" method="GET">
<input type=hidden name="db" value="default">
<input type=hidden name="uid" value="default">
Is this right?

[This message has been edited by Bert99 (edited March 07, 2000).]
Quote Reply
Re: Simple Search Code... Having a hard time finding on thread. In reply to
Bert99,
yes, but you may need some other hidden fields

[This message has been edited by Dave T (edited March 07, 2000).]
Quote Reply
Re: Simple Search Code... Having a hard time finding on thread. In reply to
Thanks Dave, I am making progress, but here is the latest
I get to dbman:
The database program received a command that it did not understand.

This most likely occurred because you sent an invalid command line. Please try another command.
here is my debug info, (If someone tells me how to reduce the font size, I'll comply)
CGI ERROR==========================================
Error Message : Debug Information
Script Location : /usr/local/etc/httpd/htdocs/hampton-houses/cgi-bin/dbman/db.cgi
Perl Version : 5.00502Setup File : default.cfg
User ID : defaultSession ID : defaultForm Variables
-------------------------------------------Submit : Submit
Year Built : 1907db : default
uid : defaultEnvironment Variables
-------------------------------------------
DOCUMENT_ROOT : /usr/local/etc/httpd/htdocs/hampton-houses
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : application/msword, application/vnd.ms-excel, */*
HTTP_ACCEPT_ENCODING: gzip, deflateHTTP_ACCEPT_LANGUAGE: en-us,ji;q=0.5
HTTP_CONNECTION : Keep-AliveHTTP_HOST : www.hampton-houses.com
HTTP_REFERER : http://www.hampton-houses.com/sample_search_form1.html
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)
PATH : /bin:/usr/bin
QUERY_STRING : db=default&uid=default&Year+Built=1907&Submit=Submit
REMOTE_ADDR : 165.254.214.55REMOTE_PORT : 1207
REQUEST_METHOD : GET
REQUEST_URI : /hampton-housescgi/dbman/db.cgi?db=default&uid=default&Year+Built=1907&Submit=Submit
SCRIPT_FILENAME : /usr/local/etc/httpd/htdocs/hampton-houses/cgi-bin/dbman/db.cgi
SCRIPT_NAME : /hampton-housescgi/dbman/db.cgi
SERVER_ADMIN : tevyenet@tevye.netSERVER_NAME : hampton-houses.com
SERVER_PORT : 80SERVER_PROTOCOL : HTTP/1.1SERVER_SIGNATURE :
Apache/1.3.4 Server at hampton-houses.com Port 80
SERVER_SOFTWARE : Apache/1.3.4 (Unix) PHP/3.0.12
Quote Reply
Re: Simple Search Code... Having a hard time finding on thread. In reply to
Your submit button needs to be:
<input type="submit" name="view_records" value="search">

as for font size in this forum.
click UBB Code
www.gossamer-threads.com/scripts/forum/resources/ubbcode.html
Dave T


[This message has been edited by Dave T (edited March 07, 2000).]