Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

search problems

Guest
Nov 16, 2009 Nov 16, 2009

I'm building a search page that filters boot titles from the database and comes up in results as linked entries. i used the adobe help instructions and it worked...as long as the value entered was exactly the same as the book title. i need a search page that can come up with entries based on one or two words. (granted they have to be spelled correctly) i'm in cs3. oh and the recordset includes relational tables.

please help.

TOPICS
Server side applications
309
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 16, 2009 Nov 16, 2009

The basic technique is to parse the search string into seperate words. Then, in your where clause you need to list each word seperately using either the AND or OR operator, depending on how you want the results.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 16, 2009 Nov 16, 2009

how...exactly does one do that? do i do this to the form...the recordset...both?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 16, 2009 Nov 16, 2009
LATEST

You would do that in the server side script. The script will parse the user's input and use it in the sql query. You will need to write the scipt yourself - DW won't do it for you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines