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

Complex search with DB Search component of DA

Thread began 5/26/2009 10:09 am by msummers194171 | Last modified 5/28/2009 6:44 am by msummers194171 | 1546 views | 5 replies


Ray - I think that's what I have already used to create this page in the first place. The code I pasted into my initial post shows the select statement that resulted from that.

But - I started a new page, added a recordset to it. Then I inserted DataAssist > Database Search Wizard. Next, I chose a search page and a form name. Then I Add a search element that is Advanced Text Search. I select the fields I want to search, and specify a New Form Field (text) that I have called "Keywords". I make no further changes by clicking through the next step. The summary shows me -

Creating Search Page: test3-search.php

Creating Form: form1
Creating form element: Keywords

Applying to Recordset: rsData2

Search Arguments:
Advanced Text Search in item_primary, item_secondary, item_content from Keywords

This new search results page looks identical to my original post - it has:

//comparison list additions
$WADbSearch1->keywordComparison($KeyArr0,"".((isset($_POST["Keywords"]))?$_POST["Keywords"]:"") ."","AND","Includes",",%20","%20","%22","%22",0);

So I added


the exit command, and uploaded.

When I fill in and submit the form, I'm getting exactly what I posted before -

SELECT * FROM items WHERE ((((item_primary LIKE '%Remington%') OR (item_secondary LIKE '%Remington%') OR (item_content LIKE '%Remington%')) OR ((item_primary LIKE '%military%') OR (item_secondary LIKE '%military%') OR (item_content LIKE '%military%'))) OR ((item_primary LIKE '%weapon%') OR (item_secondary LIKE '%weapon%') OR (item_content LIKE '%weapon%')))

I'm not getting the "AND" conjunction in there as you say I should be.

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





Ease of use


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...