Wrote as a custom answer for this question (in German): http://www.tutorials.de/php/394774-suche-mit-beliebig-vielen-werten-und-argumenten-und-operatoren.html