I am trying to use DBMAN to do and 'and' search. In other words, I would like the user to be able to select multiple search terms that could match a certain field then return those results in order from most matches to least.
For example, suppose the database were a list of cars, which contained make, model, year, and a list of available features. The user could select any number of features (6 cylinder engine, bucket seats, cd player etc) and the list of available cars would be returned, with the ones that had the most number of matching features listed first, second most next etc.
How can this be accomplished? Also, can I have a field 'options' that has many valid values or do I have to give each option it's own field then give it a value of yes or no in order to do the search.
Thanks for your help and advice!
For example, suppose the database were a list of cars, which contained make, model, year, and a list of available features. The user could select any number of features (6 cylinder engine, bucket seats, cd player etc) and the list of available cars would be returned, with the ones that had the most number of matching features listed first, second most next etc.
How can this be accomplished? Also, can I have a field 'options' that has many valid values or do I have to give each option it's own field then give it a value of yes or no in order to do the search.
Thanks for your help and advice!