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


Data Assist Search - Remove small words

Thread began 5/31/2011 8:24 pm by lightwalkercreations361768 | Last modified 6/01/2011 11:29 am by Jason Byrnes | 726 views | 1 replies |

lightwalkercreations361768Beta Tester

Data Assist Search - Remove small words

Dear WebAssist,

Is there a way to be able to remove certain small words from a search such as "and, if, or, the, at, as," So that the search is more accurate.

If I have a user search for something like "chicken and fish" then the search would strip out the small word "and" the search would be "chicken fish"

Sign in to reply to this post

Jason ByrnesWebAssist

you would need to hand code this using the str_replace() function:

you could use code similar to this on the results page:

$stripArray = array("and""if""or""the""at""as");
$_POST["keyword"])) $_POST["keyword"] = str_replace($stripArray""$_POST["keyword"]);

this code assumes a) the forms method is to post and b) the name of the form element is "keyword"

Sign in to reply to this post

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