Pieter wrote: > function findInSet_whereClause($field,$list) { > $items = t3lib_div::trimExplode(',',$list); > $whereClause .= 'AND (0 '; "AND (0 OR..." won't work with other DBs than MySQL. Use "AND (1=0" instead or avoid it completely. cheers, Ingmar