DMXzone Database Connector PHP Support Product Page

Answered

Search for several keywords in one text field

Asked 04 Nov 2015 13:00:29
1
has this question
04 Nov 2015 13:00:29 David Woolley posted:
I have a search form where users must be able to add several keywords in one text field.
Is it possible to add multiple keywords in a filter using a Form Variable?
I'm using the Contains option which works for one search word or an exact phrase ('space' sensitive!), but this does not work for 2 or more search words that appear anywhere in the field.

Also need to have an option to search for all keywords (AND) or any keyword (OR) in the field.

Replies

Replied 04 Nov 2015 14:22:08
04 Nov 2015 14:22:08 Teodor Kuduschiev replied:
Hello,
Unfortunately we do not support nesting AND and OR in order to create a complex(multi) search form.
Replied 04 Nov 2015 14:56:06
04 Nov 2015 14:56:06 David Woolley replied:
Thanks Teodor - how about a DMXzone PHP multi-search extension for your database collection?
This would be really useful. I'm migrating a site that had this multi-search facility to the DMXzone PDO method, but now this is a bit of an obstacle. Is there a way round this?
Dave

Reply to this topic