Forums

This topic is locked

Building a simple search engine with dreamweaver

Posted 05 Aug 2006 22:47:55
1
has voted
05 Aug 2006 22:47:55 cool11 cool11 posted:
I am trying to build a search engine with these instructions:
www.adobe.com/support/dreamweaver/programs/mx_search/mx_search04.html

I am doing exactly what the instructions say.

My problem is that I cannot take back any results.
I have made many tests and I found that the problem is the 'equal' sign.
When I put <> then there are results(not what I want of course).
I test it with 'test' button of recordset and with the pages itself(search page-results page). No luck,=.
I cannot understand why this happens.
I tried almost everything. Search about anything. I see the data in the database and I am giving search strings that exist. But no results yet.
Do you have any idea where the problem is?

Replies

Replied 06 Aug 2006 19:31:55
06 Aug 2006 19:31:55 cool11 cool11 replied:
I decided to try 'contains' because I think is better for what I want.
Results are slightly better but once again nothing seem to work right.
What I mean? For the first time I see results when I give nothing to search. It returns all the records. This could not happen with '='.
But when I search something that exists, it still does not give any matches.
Why?
I am doing everything the instructions said.
Replied 08 Aug 2006 01:21:58
08 Aug 2006 01:21:58 Javier Castro replied:
do you have a query, where is it? can you post it? try using instead of = LIKE. if you have your query, then post it.
Replied 08 Aug 2006 19:02:48
08 Aug 2006 19:02:48 Oriyomi Shokunbi replied:
Its pretty easy, just use your query url as the url parameter=(ur query parameter)

Urmy

Reply to this topic