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?
The equals sign looks for an exact match. Try "contains", "begins with",
or "ends with". (The names may be slightly different in the Recordset
dialog box - I don't have DW open at the moment.)
--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/
Hope this helps,
Adam
Just an update: i got my little simple search engine to work. Im not sure what
language or database your using but im using ASP and Access. I have a table in
my database called PAGES and in that table i have the columns:
> PAGEID
> PAGENAME
> KEYWORDS
> URL
im just about to add a description too.
Then i connected the database. Create a form with one textbox called Search,
made the action of the form point to my results page. Thats that page done.
On the results page i just created a recordset which search my keywords column
then for the condition i set to 'contains'. third box set to form variable and
the forth to the name of my text box on the search page. then just create a
recordset to display ur results in a repeat table and your done!!
Hope this helps, give me a shout if you need help.
Adam