close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Keyword Search

Thread began 3/11/2019 12:08 pm by vernon webb | Last modified 3/13/2019 11:45 am by Ray Borduin | 74 views | 15 replies |

vernon webb

Keyword Search

I've created a keywords search field and was hoping to allow people to enter keywords which currently does work, however, if I enter two words that are not together in the search box (i.e. the dead instead of the grateful dead) it will return zero results. If the keyword is in the keyword field, regardless
of it the two words are actually next to each other, I want the results return.

Sign in to reply to this post

Ray BorduinWebAssist

You can set the "implied OR" in the server behavior to use space and then it would search for "Greatful" OR "Dead"... or the implied AND.

Sign in to reply to this post

vernon webb

Not sure what you mean by "implied or" but using and OR statement would return any record that has Grateful or Dead, but not what I'm looking for. I want it to return only those records that have those words even if a word is in between them. So again in the keywords "The Grateful Dead" are in there and I want to return those records even if a person types in "The Dead" (without quotes of course) I still want it to return those records. So it's really an AND statement no?

Sign in to reply to this post

Ray BorduinWebAssist

The "Keyword AND" option will be available when you use type "Keyword" for your search. Set it to space and set the OR to comma-space (opposite of the default).Capture.PNG

Sign in to reply to this post

vernon webb

If I do that I get the following message

Sign in to reply to this post

Ray BorduinWebAssist

You must not have a column selected in the select list.

Sign in to reply to this post

vernon webb

The column I want "keyword" to use is not listed...

Attached Files
photoShootDB_results.php
Sign in to reply to this post

Ray BorduinWebAssist

Choose a different column and then update it in the code after application if necessary.

Sign in to reply to this post

vernon webb

I set it as indicated in the attachment and now returns all records

Sign in to reply to this post

Ray BorduinWebAssist

Are you doing a post with a form element named "keywords"? I'd need FTP access and a URL to reproduce to debug.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...